do not double-increment in InterpreterDestination
authormegacz <adam@megacz.com>
Sat, 13 Dec 2008 06:13:29 +0000 (22:13 -0800)
committermegacz <adam@megacz.com>
Sat, 13 Dec 2008 06:13:29 +0000 (22:13 -0800)
src/edu/berkeley/fleet/interpreter/InterpreterDestination.java

index e228a4d..0646c7b 100644 (file)
@@ -17,7 +17,7 @@ class InterpreterDestination extends Destination {
         this.isInstructionDestination = isInstructionDestination;
         synchronized(InterpreterDestination.class) {
             this.addr = max_dest;
-            max_dest += 2;
+            max_dest++;
         }
     }