Commits

David Schneider committed 7771050

correctly calculate stack locations for floats

  • Participants
  • Parent commits 8de45ef
  • Branches arm-backed-float

Comments (0)

Files changed (1)

pypy/jit/backend/arm/regalloc.py

     @staticmethod
     def frame_pos(loc, type):
         num_words = ARMFrameManager.frame_size(type)
+        if type == FLOAT:
+            return locations.StackLocation(loc+1, num_words=num_words, type=type)
         return locations.StackLocation(loc, num_words=num_words, type=type)
 
     @staticmethod