1. Pypy
  2. Untitled project
  3. pypy

Commits

David Schneider  committed 03316d2

make this check stricter for soft-float and move the function address to
another register whenever it is stored in a register used for arguments, as it
might get overwritten later by a float copied to such a register.

  • Participants
  • Parent commits 0bb98de
  • Branches emit-call-arm

Comments (0)

Files changed (1)

File rpython/jit/backend/arm/callbuilder.py

View file
  • Ignore whitespace
         # or on the stack, which we can not access later
         # If this happens to be the case we remap the register to r4 and use r4
         # to call the function
-        if self.fnloc in non_float_regs or self.fnloc.is_stack():
+        if self.fnloc in r.argument_regs or self.fnloc.is_stack():
             non_float_locs.append(self.fnloc)
             non_float_regs.append(r.r4)
             self.fnloc = r.r4