Author: Armin Rigo <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to