Commits

Sven Hager committed de37273

don't copy arglist in prepare_unicodesetitem and prepare_unicodegetitem

  • Participants
  • Parent commits e8e75c8
  • Branches ppc-jit-backend

Comments (0)

Files changed (1)

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

         return [l0, l1, res]
 
     def prepare_unicodegetitem(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)
 
             imm(scale), imm(basesize), imm(itemsize)]
 
     def prepare_unicodesetitem(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)