@Override public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp) { IRubyObject object = (IRubyObject) getReceiver().retrieve(context, self, currScope, dynamicScope, temp); IRubyObject arg1 = (IRubyObject) getArg1().retrieve(context, self, currScope, dynamicScope, temp); return getCallSite().call(context, self, object, arg1); } }
@Override public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp) { IRubyObject object = (IRubyObject) getReceiver().retrieve(context, self, currScope, dynamicScope, temp); IRubyObject arg1 = (IRubyObject) getArg1().retrieve(context, self, currScope, dynamicScope, temp); return getCallSite().call(context, self, object, arg1); } }
OneOperandArgNoBlockCallInstr call = (OneOperandArgNoBlockCallInstr)instr; IRubyObject r = (IRubyObject)retrieveOp(call.getReceiver(), context, self, currDynScope, temp); IRubyObject o = (IRubyObject)call.getArg1().retrieve(context, self, currDynScope, temp); result = call.getCallSite().call(context, self, r, o); setResult(temp, currDynScope, call.getResult(), result);
OneOperandArgNoBlockCallInstr call = (OneOperandArgNoBlockCallInstr)instr; IRubyObject r = (IRubyObject)retrieveOp(call.getReceiver(), context, self, currDynScope, temp); IRubyObject o = (IRubyObject)call.getArg1().retrieve(context, self, currDynScope, temp); result = call.getCallSite().call(context, self, r, o); setResult(temp, currDynScope, call.getResult(), result);
OneOperandArgNoBlockCallInstr call = (OneOperandArgNoBlockCallInstr)instr; IRubyObject r = (IRubyObject)retrieveOp(call.getReceiver(), context, self, currDynScope, currScope, temp); IRubyObject o = (IRubyObject)call.getArg1().retrieve(context, self, currScope, currDynScope, temp); result = call.getCallSite().call(context, self, r, o); setResult(temp, currDynScope, call.getResult(), result);
OneOperandArgNoBlockCallInstr call = (OneOperandArgNoBlockCallInstr)instr; IRubyObject r = (IRubyObject)retrieveOp(call.getReceiver(), context, self, currDynScope, currScope, temp); IRubyObject o = (IRubyObject)call.getArg1().retrieve(context, self, currScope, currDynScope, temp); result = call.getCallSite().call(context, self, r, o); setResult(temp, currDynScope, call.getResult(), result);