Browse Source

Fix a bug in the bytecode interpreter's continue implementation

jonathanvdc 8 years ago
parent
commit
6add1b8658
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kernel/modelverse_jit/bytecode_interpreter.py

+ 1 - 1
kernel/modelverse_jit/bytecode_interpreter.py

@@ -108,7 +108,7 @@ class InterpreterState(object):
         def __handle_continue(exception):
             if exception.loop == instruction:
                 # Restart the loop.
-                yield [("TAIL_CALL_ARGS", [self.interpret, (instruction,)])]
+                yield [("TAIL_CALL_ARGS", [self.interpret_while, (instruction,)])]
             else:
                 # Propagate the exception to the next 'while' loop.
                 raise exception