1. Pypy
  2. Untitled project
  3. pypy


David Schneider  committed 191546e

do not emit instructions if we are moving to the same location in SAME_AS

  • Participants
  • Parent commits 5440ae9
  • Branches emit-call-arm

Comments (0)

Files changed (1)

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

View file
     def emit_op_same_as(self, op, arglocs, regalloc, fcond):
         argloc, resloc = arglocs
-        self.mov_loc_loc(argloc, resloc)
+        if argloc is not resloc:
+            self.mov_loc_loc(argloc, resloc)
         return fcond
     emit_op_cast_ptr_to_int = emit_op_same_as