Skip to content
Browse files

Couple minor cleanups to get the build clean again

  • Loading branch information...
1 parent a5503a4 commit 43b8784a88584c3d73baeaeb765d8df7c3274233 @nicksieger nicksieger committed Jun 10, 2010
Showing with 7 additions and 5 deletions.
  1. +1 −1 src/org/jruby/RubyModule.java
  2. +6 −4 src/org/jruby/compiler/impl/StandardASMCompiler.java
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;

0 comments on commit 43b8784

Please sign in to comment.
Something went wrong with that request. Please try again.