[pypy-svn] r35575 - pypy/dist/pypy/interpreter

mwh at codespeak.net mwh at codespeak.net
Mon Dec 11 15:14:58 CET 2006


Author: mwh
Date: Mon Dec 11 15:14:56 2006
New Revision: 35575

Modified:
   pypy/dist/pypy/interpreter/pyopcode.py
Log:
one more resume_point


Modified: pypy/dist/pypy/interpreter/pyopcode.py
==============================================================================
--- pypy/dist/pypy/interpreter/pyopcode.py	(original)
+++ pypy/dist/pypy/interpreter/pyopcode.py	Mon Dec 11 15:14:56 2006
@@ -52,7 +52,9 @@
     def dispatch(self, co_code, next_instr, ec):
         while True:
             try:
-                return self.dispatch_bytecode(co_code, next_instr, ec)
+                w_result = self.dispatch_bytecode(co_code, next_instr, ec)
+                rstack.resume_point("dispatch", self, ec, returns=w_result)
+                return w_result
             except OperationError, operr:
                 next_instr = self.handle_operation_error(ec, operr)
             except Reraise:



More information about the Pypy-commit mailing list