Commits

Maciej Fijalkowski committed 5652b07

fix for default too

Comments (0)

Files changed (1)

rpython/jit/backend/x86/assembler.py

 
     def _call_assembler_check_descr(self, value, tmploc):
         ofs = self.cpu.get_ofs_of_frame_field('jf_descr')
-        self.mc.CMP_mi((eax.value, ofs), value)
+        self.mc.CMP(mem(eax, ofs), imm(value))
         # patched later
         self.mc.J_il8(rx86.Conditions['E'], 0) # goto B if we get 'done_with_this_frame'
         return self.mc.get_relative_pos()