class RubyRunJs::OPCODES::CALL_METHOD

Public Instance Methods

eval(ctx) click to toggle source
# File lib/ruby_run_js/opcodes.rb, line 637
def eval(ctx)
  args = ctx.stack.pop()
  prop = ctx.stack.pop()
  base = ctx.stack.pop()

  func = get_member(base, prop, ctx.builtin)

  return OPCODES.bytecode_call(ctx, func, base, args)
end