[pypy-commit] pypy jitframe-on-heap: Ah, this is where immortal=True was used in RPython code. Fix.

arigo noreply at buildbot.pypy.org
Tue Feb 26 12:23:16 CET 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: jitframe-on-heap
Changeset: r61823:23d590305060
Date: 2013-02-26 12:21 +0100
http://bitbucket.org/pypy/pypy/changeset/23d590305060/

Log:	Ah, this is where immortal=True was used in RPython code. Fix.

diff --git a/rpython/jit/backend/llsupport/assembler.py b/rpython/jit/backend/llsupport/assembler.py
--- a/rpython/jit/backend/llsupport/assembler.py
+++ b/rpython/jit/backend/llsupport/assembler.py
@@ -85,7 +85,8 @@
             debug_stop('jit-backend-counts')
         # when finishing, we only have one value at [0], the rest dies
         self.gcmap_for_finish = lltype.malloc(jitframe.GCMAP, 1,
-                                              flavor='raw', immortal=True)
+                                              flavor='raw',
+                                              track_allocation=False)
         self.gcmap_for_finish[0] = r_uint(1)
 
     def rebuild_faillocs_from_descr(self, descr, inputargs):


More information about the pypy-commit mailing list