[pypy-commit] pypy ppc-jit-backend: Remove references to boxes

hager noreply at buildbot.pypy.org
Tue Aug 2 14:32:00 CEST 2011


Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r46199:504ecb55d39e
Date: 2011-08-02 14:32 +0200
http://bitbucket.org/pypy/pypy/changeset/504ecb55d39e/

Log:	Remove references to boxes

diff --git a/pypy/jit/backend/ppc/runner.py b/pypy/jit/backend/ppc/runner.py
--- a/pypy/jit/backend/ppc/runner.py
+++ b/pypy/jit/backend/ppc/runner.py
@@ -57,6 +57,7 @@
 
         f = codebuilder.assemble(True)
         looptoken.ppc_code = f
+        self.teardown()
 
     def _make_epilogue(self, codebuilder):
         for op_index, fail_index, guard, reglist in self.patch_list:
@@ -96,3 +97,8 @@
                 
     def get_box_index(self, box):
         return self.arg_to_box[box]
+
+    def teardown(self):
+        self.patch_list = None
+        self.reg_map = None
+        self.inputargs = None


More information about the pypy-commit mailing list