Skip to content
Browse files
Re-add important line? :)
  • Loading branch information
enebo committed Oct 28, 2014
1 parent be7cb99 commit ea47cab70b37f01f7f7e1bc0815367cac3449f86
Showing 1 changed file with 5 additions and 0 deletions.
@@ -41,6 +41,7 @@

import org.jruby.compiler.Constantizable;
import org.jruby.compiler.NotCompilableException;
import org.objectweb.asm.util.TraceClassVisitor;
import jnr.constants.Constant;
import jnr.constants.ConstantSet;
@@ -1214,6 +1215,10 @@ private void init() {

// 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());

// Initialize the "dummy" class used as a marker
dummyClass = new RubyClass(this, classClass);

0 comments on commit ea47cab

Please sign in to comment.