Commits

David Schneider  committed 1f07ea8

add asserts

  • Participants
  • Parent commits 23ebba2
  • Branches arm-backend-2

Comments (0)

Files changed (1)

File pypy/jit/backend/arm/helper/regalloc.py

         assert fcond is not None
         a0 = op.getarg(0)
         a1 = op.getarg(1)
+        assert isinstance(a0, Box)
+        assert isinstance(a1, Box)
         arg1 = self.rm.make_sure_var_in_reg(a0, selected_reg=r.r0)
         arg2 = self.rm.make_sure_var_in_reg(a1, selected_reg=r.r1)
         assert arg1 == r.r0