Commits

Sven Hager  committed e8e75c8

don't copy arglist in prepare_strgetitem and prepare_strsetitem

  • Participants
  • Parent commits 5e8969c
  • Branches ppc-jit-backend

Comments (0)

Files changed (1)

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

         return [l0, l1, res]
 
     def prepare_strgetitem(self, op):
-        boxes = list(op.getarglist())
+        boxes = op.getarglist()
         base_loc = self._ensure_value_is_boxed(boxes[0])
 
         a1 = boxes[1]
         return [res, base_loc, ofs_loc, imm(basesize)]
 
     def prepare_strsetitem(self, op):
-        boxes = list(op.getarglist())
+        boxes = op.getarglist()
         base_loc = self._ensure_value_is_boxed(boxes[0], boxes)
         ofs_loc = self._ensure_value_is_boxed(boxes[1], boxes)
         value_loc = self._ensure_value_is_boxed(boxes[2], boxes)