Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * To change this template, choose Tools | Templates
  * and open the template in the editor.
  */
 package org.jruby.ir.instructions.calladapter;
 

Author(s):
enebo
    private final Operand arg1;
    private final Operand arg2;
    private final Operand arg3;
    private final Operand arg4;
        
    public FourArgNoBlockOperandCallAdapter(CallSite callSiteOperand[] args) {        
        super(callSite);
        
        assert args.length == 4;
                
        this. = args[0];
        this. = args[1];
        this. = args[2];
        this. = args[3];
    }
    @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);        
        IRubyObject value4 = (IRubyObject.retrieve(contextselfcurrDynScopetemp);        
        return .call(contextselfreceivervalue1value2value3value4);
    }        
New to GrepCode? Check out our FAQ X