[pypy-svn] r52086 - pypy/branch/jit-refactoring/pypy/jit/rainbow
cfbolz at codespeak.net
cfbolz at codespeak.net
Mon Mar 3 12:29:51 CET 2008
Author: cfbolz
Date: Mon Mar 3 12:29:50 2008
New Revision: 52086
Modified:
pypy/branch/jit-refactoring/pypy/jit/rainbow/interpreter.py
Log:
this is the right thing to do, the assertion fails with the tiny2 test, however
Modified: pypy/branch/jit-refactoring/pypy/jit/rainbow/interpreter.py
==============================================================================
--- pypy/branch/jit-refactoring/pypy/jit/rainbow/interpreter.py (original)
+++ pypy/branch/jit-refactoring/pypy/jit/rainbow/interpreter.py Mon Mar 3 12:29:50 2008
@@ -534,7 +534,9 @@
newjitstate = rtimeshift.collect_split(
self.jitstate, self.frame.pc,
self.frame.local_green)
- assert newjitstate is self.jitstate
+ assert newjitstate.frame.bytecode is self.frame.bytecode
+ assert newjitstate.frame.pc == self.frame.pc
+ self.newjitstate(newjitstate)
@arguments("green_varargs", "red_varargs")
def opimpl_portal_call(self, greenargs, redargs):
More information about the Pypy-commit
mailing list