1. Pypy
  2. Untitled project
  3. pypy

Commits

Maciej Fijalkowski  committed 904929d

fix subtle bug

  • Participants
  • Parent commits 6a5398f
  • Branches jitframe-on-heap

Comments (0)

Files changed (1)

File pypy/jit/backend/x86/assembler.py

View file
                 pos = pos // WORD - GPR_REGS
                 locs.append(xmm_reg_mgr_cls.all_regs[pos])
             else:
-                i = pos // WORD - 2 * self.cpu.NUM_REGS
+                i = pos // WORD - GPR_REGS - XMM_REGS
                 tp = inputargs[input_i].type
                 locs.append(StackLoc(i, pos, tp))
             input_i += 1