[pypy-commit] pypy jitframe-on-heap: (arigo, fijal) fix
fijal
noreply at buildbot.pypy.org
Sun Jan 13 11:06:59 CET 2013
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jitframe-on-heap
Changeset: r60018:49df119bdf2e
Date: 2013-01-13 12:06 +0200
http://bitbucket.org/pypy/pypy/changeset/49df119bdf2e/
Log: (arigo, fijal) fix
diff --git a/pypy/jit/backend/test/runner_test.py b/pypy/jit/backend/test/runner_test.py
--- a/pypy/jit/backend/test/runner_test.py
+++ b/pypy/jit/backend/test/runner_test.py
@@ -568,8 +568,6 @@
if cpu.supports_floats:
def func(f0, f1, f2, f3, f4, f5, f6, i0, f7, i1, f8, f9):
- import pdb
- pdb.set_trace()
return f0 + f1 + f2 + f3 + f4 + f5 + f6 + float(i0 + i1) + f7 + f8 + f9
F = lltype.Float
I = lltype.Signed
diff --git a/pypy/jit/backend/x86/assembler.py b/pypy/jit/backend/x86/assembler.py
--- a/pypy/jit/backend/x86/assembler.py
+++ b/pypy/jit/backend/x86/assembler.py
@@ -1132,7 +1132,7 @@
dst_locs.append(RawEspLoc(on_stack * WORD, INT))
on_stack += 1
- align = align_stack_words(on_stack)
+ align = align_stack_words(on_stack + 1) - 1
if align:
self.mc.SUB_ri(esp.value, align * WORD)
More information about the pypy-commit
mailing list