Author: Maciej Fijalkowski <[email protected]>
Branch: jitframe-on-heap
Changeset: r62331:3b3c923bd6f6
Date: 2013-03-13 14:50 -0700
http://bitbucket.org/pypy/pypy/changeset/3b3c923bd6f6/

Log:    fix the stack wasting (does not fix the stack issue I believe)

diff --git a/rpython/jit/backend/x86/assembler.py 
b/rpython/jit/backend/x86/assembler.py
--- a/rpython/jit/backend/x86/assembler.py
+++ b/rpython/jit/backend/x86/assembler.py
@@ -1118,11 +1118,6 @@
         n = len(arglocs)
         for i in range(start, n):
             loc = arglocs[i]
-            if isinstance(loc, RegLoc):
-                if loc.is_xmm:
-                    stack_depth += 2
-                else:
-                    stack_depth += 1
             stack_depth += loc.get_width() // WORD
         if stack_depth > stack_max:
             align = align_stack_words(stack_depth - stack_max)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to