[pypy-commit] pypy arm-backend-2: (arigo, bivab) update the fail_force_index when failing a guard

bivab noreply at buildbot.pypy.org
Thu Jan 19 12:28:54 CET 2012


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r51477:4c73e2cd39cf
Date: 2012-01-19 12:21 +0100
http://bitbucket.org/pypy/pypy/changeset/4c73e2cd39cf/

Log:	(arigo, bivab) update the fail_force_index when failing a guard

diff --git a/pypy/jit/backend/arm/assembler.py b/pypy/jit/backend/arm/assembler.py
--- a/pypy/jit/backend/arm/assembler.py
+++ b/pypy/jit/backend/arm/assembler.py
@@ -257,6 +257,7 @@
         to the failboxes.  Values for spilled vars and registers are stored on
         stack at frame_loc """
         assert frame_pointer & 1 == 0
+        self.fail_force_index = frame_pointer
         bytecode = rffi.cast(rffi.UCHARP, mem_loc)
         num = 0
         value = 0


More information about the pypy-commit mailing list