Commits

David Schneider committed 924848a

use the precalculated offset of the stacklocation to the spillling pointer when writing the callshape

  • Participants
  • Parent commits f43b8c4
  • Branches ppc-jit-backend

Comments (0)

Files changed (1)

pypy/jit/backend/ppc/regalloc.py

         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