1. trampgeek
  2. pypy-sandbox-4-pycode

Commits

Sven Hager  committed d1b7f8e

(bivab, hager): fix offset to stack parameters

  • Participants
  • Parent commits 768f640
  • Branches ppc-jit-backend

Comments (0)

Files changed (1)

File pypy/jit/backend/ppc/ppcgen/regalloc.py

View file
  • Ignore whitespace
         arg_index = 0
         count = 0
         n_register_args = len(r.PARAM_REGS)
-        cur_frame_pos = -self.assembler.OFFSET_STACK_ARGS // WORD + 1
+        cur_frame_pos = -self.assembler.OFFSET_STACK_ARGS // WORD
         for box in inputargs:
             assert isinstance(box, Box)
             # handle inputargs in argument registers