Examples of IRManager


Examples of org.jruby.ir.IRManager

        bootstrap();

        // set up defined messages
        initDefinedMessages();
       
        irManager = new IRManager();
       
        // Initialize the "dummy" class used as a marker
        dummyClass = new RubyClass(this, classClass);
        dummyClass.freeze(tc);
       
View Full Code Here

Examples of org.jruby.ir.IRManager

       
        // set up thread statuses
        initThreadStatuses();
       
        // Create an IR manager and a top-level IR scope and bind it to the top-level static-scope object
        irManager = new IRManager();
        // FIXME: This registers itself into static scope as a side-effect.  Let's make this
        // relationship handled either more directly or through a descriptice method
        // FIXME: We need a failing test case for this since removing it did not regress tests
        new IRScriptBody(irManager, "", tc.getCurrentScope().getStaticScope());
View Full Code Here

Examples of org.jruby.ir.IRManager

    }

    private void initInstrs() {
        instrs = new ArrayList<Instr>();
        if (RubyInstanceConfig.IR_COMPILER_DEBUG || RubyInstanceConfig.IR_VISUALIZER) {
            IRManager irManager = cfg.getScope().getManager();
            InstructionsListener listener = irManager.getInstructionsListener();
            if (listener != null) {
                instrs = new InstructionsListenerDecorator(instrs, listener);
            }
        }
        instrsArray = null;
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.