Commits

Maciej Fijalkowski committed c9ef8d7

clean up

Comments (0)

Files changed (3)

rpython/jit/backend/llsupport/assembler.py

         guardtok.faildescr.rd_loop_token = self.current_clt
         return fail_descr, target
 
-    def call_assembler(self, op, guard_op, frame_loc, argloc,
+    def call_assembler(self, op, guard_op, argloc,
                        vloc, result_loc, tmploc):
         self._store_force_index(guard_op)
         descr = op.getdescr()

rpython/jit/backend/llsupport/regalloc.py

         descr = op.getdescr()
         assert isinstance(descr, JitCellToken)
         arglist = op.getarglist()
-        self.rm._sync_var(arglist[0])
-        frame_loc = self.fm.loc(op.getarg(0))
         if len(arglist) == 2:
             self.rm._sync_var(arglist[1])
-            return [frame_loc, self.loc(arglist[0]), self.fm.loc(arglist[1])]
+            return [self.loc(arglist[0]), self.fm.loc(arglist[1])]
         else:
-            return [frame_loc, self.loc(arglist[0])]
+            return [self.loc(arglist[0])]
 
 
 def compute_vars_longevity(inputargs, operations):

rpython/jit/backend/x86/assembler.py

     def genop_guard_call_assembler(self, op, guard_op, guard_token,
                                    arglocs, result_loc):
         if len(arglocs) == 3:
-            [frame_loc, argloc, vloc] = arglocs
+            [argloc, vloc] = arglocs
         else:
-            [frame_loc, argloc] = arglocs
+            [argloc] = arglocs
             vloc = self.imm(0)
-        self.call_assembler(op, guard_op, frame_loc, argloc, vloc,
-                            result_loc, eax)
+        self.call_assembler(op, guard_op, argloc, vloc, result_loc, eax)
         self._emit_guard_not_forced(guard_token)
 
     def _call_assembler_check_descr(self, value, tmploc):