[pypy-commit] pypy jitframe-on-heap: 32-bit fix

arigo noreply at buildbot.pypy.org
Sat Feb 23 15:41:06 CET 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: jitframe-on-heap
Changeset: r61680:7bdd7a5b4bb7
Date: 2013-02-23 15:34 +0100
http://bitbucket.org/pypy/pypy/changeset/7bdd7a5b4bb7/

Log:	32-bit fix

diff --git a/rpython/memory/gctransform/asmgcroot.py b/rpython/memory/gctransform/asmgcroot.py
--- a/rpython/memory/gctransform/asmgcroot.py
+++ b/rpython/memory/gctransform/asmgcroot.py
@@ -596,8 +596,8 @@
             #      saved %r12             saved %esi
             #      saved %rbx             saved %ebx
             #      return addr            return addr
+            stack_depth = PASS_ON_MY_FRAME + self.extra_stack_depth
             if IS_64_BITS:
-                stack_depth = PASS_ON_MY_FRAME + self.extra_stack_depth
                 if index == 2:   # rbp
                     return LOC_ESP_PLUS | (stack_depth << 2)
                 if index == 3:   # r15


More information about the pypy-commit mailing list