Commits

Maciej Fijalkowski committed da724c1

missed one

Comments (0)

Files changed (1)

rpython/jit/backend/x86/jump.py

 
-from rpython.jit.backend.x86.regloc import ImmediateAssemblerLocation
+from rpython.jit.backend.x86.regloc import ImmediateAssemblerLocation,\
+     FrameLoc
 
 def remap_frame_layout(assembler, src_locations, dst_locations, tmpreg):
     pending_dests = len(dst_locations)
     for i in range(len(src_locations2)):
         loc    = src_locations2[i]
         dstloc = dst_locations2[i]
-        if isinstance(loc, StackLoc):
+        if isinstance(loc, FrameLoc):
             key = loc._getregkey()
             if (key in dst_keys or (loc.get_width() > WORD and
                                     (key + WORD) in dst_keys)):