Examples of ReceiveSelfInstr


Examples of org.jruby.ir.instructions.ReceiveSelfInstr

        // Create a new nested builder to ensure this gets its own IR builder state
        // like the ensure block stack
        IRBuilder closureBuilder = createIRBuilder(manager, is1_9());

        // Receive self
        closure.addInstr(new ReceiveSelfInstr(getSelf(closure)));

        // args
        closureBuilder.receiveBlockArgs(node, closure);
        closureBuilder.receiveBlockClosureArg(node.getBlockVarNode(), closure);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.