From: megacz Date: Sat, 13 Dec 2008 06:13:29 +0000 (-0800) Subject: do not double-increment in InterpreterDestination X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=cb0e3035b25664e62e208bbcbbbeecb022e51316;p=fleet.git do not double-increment in InterpreterDestination --- diff --git a/src/edu/berkeley/fleet/interpreter/InterpreterDestination.java b/src/edu/berkeley/fleet/interpreter/InterpreterDestination.java index e228a4d..0646c7b 100644 --- a/src/edu/berkeley/fleet/interpreter/InterpreterDestination.java +++ b/src/edu/berkeley/fleet/interpreter/InterpreterDestination.java @@ -17,7 +17,7 @@ class InterpreterDestination extends Destination { this.isInstructionDestination = isInstructionDestination; synchronized(InterpreterDestination.class) { this.addr = max_dest; - max_dest += 2; + max_dest++; } }