Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Couple minor cleanups to get the build clean again

  • Loading branch information...
commit 43b8784a88584c3d73baeaeb765d8df7c3274233 1 parent a5503a4
@nicksieger nicksieger authored
View
2  src/org/jruby/RubyModule.java
@@ -931,7 +931,7 @@ protected DynamicMethod searchMethodInner(String name) {
}
public void invalidateCacheDescendants() {
- System.out.println("invalidating descendants: " + classId);
+ if (DEBUG) System.out.println("invalidating descendants: " + classId);
generation = getRuntime().getNextModuleGeneration();
// update all hierarchies into which this module has been included
synchronized (getRuntime().getHierarchyLock()) {
View
10 src/org/jruby/compiler/impl/StandardASMCompiler.java
@@ -136,10 +136,12 @@ public static String getClosure19Signature() {
public static final int CLOSURE_OFFSET = 0;
public static final int DYNAMIC_SCOPE_OFFSET = 1;
- public static final int VARS_ARRAY_OFFSET = 2;
- public static final int EXCEPTION_OFFSET = 3;
- public static final int PREVIOUS_EXCEPTION_OFFSET = 4;
- public static final int FIRST_TEMP_OFFSET = 5;
+ public static final int RUNTIME_OFFSET = 2;
+ public static final int VARS_ARRAY_OFFSET = 3;
+ public static final int NIL_OFFSET = 4;
+ public static final int EXCEPTION_OFFSET = 5;
+ public static final int PREVIOUS_EXCEPTION_OFFSET = 6;
+ public static final int FIRST_TEMP_OFFSET = 7;
public static final int STARTING_DSTR_SIZE = 20;
Please sign in to comment.
Something went wrong with that request. Please try again.