[pypy-svn] r51203 - pypy/branch/jit-refactoring/pypy/jit/timeshifter
cfbolz at codespeak.net
cfbolz at codespeak.net
Sat Feb 2 13:06:15 CET 2008
Author: cfbolz
Date: Sat Feb 2 13:06:14 2008
New Revision: 51203
Modified:
pypy/branch/jit-refactoring/pypy/jit/timeshifter/rtimeshift.py
Log:
oops, forgot to check this in yesterday
Modified: pypy/branch/jit-refactoring/pypy/jit/timeshifter/rtimeshift.py
==============================================================================
--- pypy/branch/jit-refactoring/pypy/jit/timeshifter/rtimeshift.py (original)
+++ pypy/branch/jit-refactoring/pypy/jit/timeshifter/rtimeshift.py Sat Feb 2 13:06:14 2008
@@ -992,6 +992,8 @@
self.dispatchqueue = dispatchqueue
#self.local_boxes = ... set by callers
#self.local_green = ... set by callers
+ #self.pc = ... set by callers
+ #self.bytecode = ... set by callers
def enter_block(self, incoming, memo):
for box in self.local_boxes:
@@ -1014,6 +1016,9 @@
newbackframe = self.backframe.copy(memo)
result = VirtualFrame(newbackframe, self.dispatchqueue)
result.local_boxes = [box.copy(memo) for box in self.local_boxes]
+ result.pc = self.pc
+ result.bytecode = self.bytecode
+ result.local_green = self.local_green[:]
return result
def replace(self, memo):
More information about the pypy-svn
mailing list