[pypy-commit] pypy arm-backed-float: (arigo, bivab) correctly calculate the offset of the variables spilled on the stack
bivab
noreply at buildbot.pypy.org
Fri May 27 13:14:03 CEST 2011
Author: David Schneider <david.schneider at picle.org>
Branch: arm-backed-float
Changeset: r44542:14dafdf29372
Date: 2011-05-27 13:23 +0200
http://bitbucket.org/pypy/pypy/changeset/14dafdf29372/
Log: (arigo, bivab) correctly calculate the offset of the variables
spilled on the stack
diff --git a/pypy/jit/backend/arm/regalloc.py b/pypy/jit/backend/arm/regalloc.py
--- a/pypy/jit/backend/arm/regalloc.py
+++ b/pypy/jit/backend/arm/regalloc.py
@@ -898,7 +898,7 @@
for v, val in self.frame_manager.frame_bindings.items():
if (isinstance(v, BoxPtr) and self.rm.stays_alive(v)):
assert val.is_stack()
- gcrootmap.add_frame_offset(shape, val.position)
+ gcrootmap.add_frame_offset(shape, val.position*-WORD)
for v, reg in self.rm.reg_bindings.items():
if reg is r.r0:
continue
More information about the pypy-commit
mailing list