[pypy-svn] r64192 - pypy/branch/pyjitpl5-simplify/pypy/interpreter
fijal at codespeak.net
fijal at codespeak.net
Thu Apr 16 22:51:18 CEST 2009
Author: fijal
Date: Thu Apr 16 22:51:18 2009
New Revision: 64192
Modified:
pypy/branch/pyjitpl5-simplify/pypy/interpreter/pyopcode.py
Log:
only in stdobjspace
Modified: pypy/branch/pyjitpl5-simplify/pypy/interpreter/pyopcode.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/interpreter/pyopcode.py (original)
+++ pypy/branch/pyjitpl5-simplify/pypy/interpreter/pyopcode.py Thu Apr 16 22:51:18 2009
@@ -83,8 +83,9 @@
return self.popvalue()
def check_interpreter_state(self):
- for i in range(self.valuestackdepth):
- assert self.valuestack_w[i] is not None
+ if we_are_translated():
+ for i in range(self.valuestackdepth):
+ assert self.valuestack_w[i] is not None
def handle_bytecode(self, co_code, next_instr, ec):
from pypy.rlib import rstack # for resume points
More information about the Pypy-commit
mailing list