Author: David Schneider <[email protected]>
Branch: ppc-jit-backend
Changeset: r53253:924848abc3d9
Date: 2012-03-07 04:52 -0800
http://bitbucket.org/pypy/pypy/changeset/924848abc3d9/
Log: use the precalculated offset of the stacklocation to the spillling
pointer when writing the callshape
diff --git a/pypy/jit/backend/ppc/regalloc.py b/pypy/jit/backend/ppc/regalloc.py
--- a/pypy/jit/backend/ppc/regalloc.py
+++ b/pypy/jit/backend/ppc/regalloc.py
@@ -792,7 +792,7 @@
for v, val in self.frame_manager.bindings.items():
if (isinstance(v, BoxPtr) and self.rm.stays_alive(v)):
assert val.is_stack()
- gcrootmap.add_frame_offset(shape, val.position * -WORD)
+ gcrootmap.add_frame_offset(shape, val.value)
for v, reg in self.rm.reg_bindings.items():
if reg is r.r3:
continue
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit