[pypy-svn] r64207 - pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86

fijal at codespeak.net fijal at codespeak.net
Fri Apr 17 01:21:18 CEST 2009


Author: fijal
Date: Fri Apr 17 01:21:18 2009
New Revision: 64207

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/runner.py
Log:
oops


Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/runner.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/runner.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/runner.py	Fri Apr 17 01:21:18 2009
@@ -295,7 +295,7 @@
         #    llop.debug_print(lltype.Void, 'exec:', name, values_repr)
         self.assembler.log_call(valueboxes)
         self.keepalives_index = len(self.keepalives)
-        guard_index = self.execute_call(loop, func, values_as_int, len(valueboxes))
+        guard_index = self.execute_call(loop, func, values_as_int)
         self._guard_index = guard_index # for tests
         keepalive_until_here(valueboxes)
         self.keepalives_index = oldindex
@@ -305,6 +305,7 @@
             op = loop.operations[-1]
         else:
             op = self._guard_list[guard_index]
+        print "Leaving at: %d" % self.assembler.fail_boxes[len(op.args)]
         for i in range(len(op.args)):
             box = op.args[i]
             self.set_value_of_box(box, i, self.assembler.fail_boxes)
@@ -321,7 +322,6 @@
             self.caught_exception = None
             print "Entering: %d" % rffi.cast(lltype.Signed, func)
             res = func(values_as_int)
-            print "Leaving at: %d" % self.assembler.fail_boxes[lgt]
             self.reraise_caught_exception()
         finally:
             if not self.translate_support_code:



More information about the Pypy-commit mailing list