Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jruby.ir.instructions;
 
 
 public class ClosureReturnInstr extends ReturnBase {
     public ClosureReturnInstr(Operand rv) {
        super(.rv);
    }
    @Override
    public Instr cloneForBlockCloning(InlinerInfo ii) {
        return new ClosureReturnInstr(.cloneForInlining(ii));
    }
    @Override
    public Instr cloneForInlinedClosure(InlinerInfo ii) {
        return new CopyInstr(ii.getYieldResult(), .cloneForInlining(ii));
    }
    @Override
    public void visit(IRVisitor visitor) {
        visitor.ClosureReturnInstr(this);
    }
New to GrepCode? Check out our FAQ X