Author: hager <sven.ha...@uni-duesseldorf.de> Branch: ppc-jit-backend Changeset: r47230:3c4861e4e476 Date: 2011-09-12 16:57 +0200 http://bitbucket.org/pypy/pypy/changeset/3c4861e4e476/
Log: Added teardown() method to ppc_assembler. diff --git a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py --- a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py +++ b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py @@ -1053,8 +1053,8 @@ self._walk_operations(operations, regalloc) self._make_epilogue() - looptoken.ppc_code = self.assemble() + self._teardown() def _walk_operations(self, operations, regalloc): while regalloc.position() < len(operations) - 1: @@ -1073,6 +1073,9 @@ regalloc.possibly_free_vars_for_op(op) regalloc._check_invariants() + def _teardown(self): + self.patch_list = None + # translate a trace operation to corresponding machine code def build_op(self, trace_op, cpu): opnum = trace_op.getopnum() _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit