def setup(self): self.assembler = Assembler386(self, self.translate_support_code)
def label(self): self._log("label", self._regalloc.final_jump_op.getdescr()._x86_arglocs) return Assembler386.label(self)
def closing_jump(self, jump_target_descr): self._log("jump", self._regalloc.final_jump_op.getdescr()._x86_arglocs) return Assembler386.closing_jump(self, jump_target_descr)
def regalloc_perform_guard(self, guard_op, faillocs, arglocs, resloc, frame_depth): self._log("guard", guard_op.getopname(), arglocs, faillocs, resloc) return Assembler386.regalloc_perform_guard(self, guard_op, faillocs, arglocs, resloc, frame_depth)
def regalloc_perform_discard(self, op, arglocs): self._log("op", op.getopname(), arglocs) return Assembler386.regalloc_perform_discard(self, op, arglocs)
def regalloc_perform(self, op, arglocs, resloc): self._log("op", op.getopname(), arglocs, resloc) return Assembler386.regalloc_perform(self, op, arglocs, resloc)
def regalloc_mov(self, from_loc, to_loc): self._log("mov", from_loc, to_loc) return Assembler386.mov(self, from_loc, to_loc)
def __init__(self, *args, **kwargs): self._instr_log = [] Assembler386.__init__(self, *args, **kwargs)