Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jruby.ir.instructions.calladapter;
 
    private Operand arg1;
    private Operand arg2;
    private Operand arg3;
    
    public ThreeArgBlockOperandCallAdapter(CallSite callSiteOperand[] argsOperand closure) {
        super(callSiteclosure);
        
        assert args.length == 3;
        
         = args[0];
         = args[1];
         = args[2];
    }
    @Override
    public Object call(ThreadContext contextIRubyObject selfIRubyObject receiverDynamicScope currDynScopeObject[] temp) {
        IRubyObject value1 = (IRubyObject.retrieve(contextselfcurrDynScopetemp);
        IRubyObject value2 = (IRubyObject.retrieve(contextselfcurrDynScopetemp);
        IRubyObject value3 = (IRubyObject.retrieve(contextselfcurrDynScopetemp);
        Block block = prepareBlock(contextselfcurrDynScopetemp);
        return .call(contextselfreceivervalue1value2value3block);
    }
New to GrepCode? Check out our FAQ X