Commits

Maciej Fijalkowski  committed f3b606c

frame size accepts size

  • Participants
  • Parent commits 8429de3
  • Branches jitframe-on-heap

Comments (0)

Files changed (1)

File rpython/jit/backend/llsupport/regalloc.py

         if box.type == REF:
             self.freelist_gcrefs.append(1, loc)
         else:
-            size = self.frame_size(box)
+            size = self.frame_size(box.type)
             self.freelist_others.append(size, loc)
 
     def try_to_reuse_location(self, box, loc):