Commits

Maciej Fijalkowski committed 899e3db

more casts

  • Participants
  • Parent commits f3b606c
  • Branches jitframe-on-heap

Comments (0)

Files changed (1)

rpython/jit/backend/x86/regalloc.py

         # the potential argument to FINISH
         descr = op.getdescr()
         fail_descr = cast_instance_to_gcref(descr)
+        # we know it does not move, but well
+        rgc._make_sure_does_not_move(fail_descr)
+        fail_descr = rffi.cast(lltype.Signed, fail_descr)
         if op.numargs() == 1:
             loc = self.make_sure_var_in_reg(op.getarg(0))
             locs = [loc, imm(fail_descr)]