[pypy-svn] r67462 - pypy/branch/no-recompilation/pypy/jit/backend/x86
fijal at codespeak.net
fijal at codespeak.net
Thu Sep 3 20:00:44 CEST 2009
Author: fijal
Date: Thu Sep 3 20:00:44 2009
New Revision: 67462
Modified:
pypy/branch/no-recompilation/pypy/jit/backend/x86/assembler.py
Log:
oops
Modified: pypy/branch/no-recompilation/pypy/jit/backend/x86/assembler.py
==============================================================================
--- pypy/branch/no-recompilation/pypy/jit/backend/x86/assembler.py (original)
+++ pypy/branch/no-recompilation/pypy/jit/backend/x86/assembler.py Thu Sep 3 20:00:44 2009
@@ -186,7 +186,7 @@
guard_op._x86_stack_depth = stack_depth
mc = codebuf.InMemoryCodeBuilder(adr_lea, adr_lea + 128)
mc.LEA(esp, addr_add(imm32(0), ebp,
- -(stack_depth - 1) * WORD))
+ -(stack_depth + RET_BP - 2) * WORD))
mc.done()
if we_are_translated():
self._regalloc = None # else keep it around for debugging
More information about the Pypy-commit
mailing list