[pypy-commit] pypy lightweight-finalizers: track_allocation is just fine
fijal
noreply at buildbot.pypy.org
Sun Oct 9 21:54:52 CEST 2011
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: lightweight-finalizers
Changeset: r47914:58152c4eb257
Date: 2011-10-09 21:54 +0200
http://bitbucket.org/pypy/pypy/changeset/58152c4eb257/
Log: track_allocation is just fine
diff --git a/pypy/translator/backendopt/finalizer.py b/pypy/translator/backendopt/finalizer.py
--- a/pypy/translator/backendopt/finalizer.py
+++ b/pypy/translator/backendopt/finalizer.py
@@ -12,7 +12,7 @@
* anything that can allocate
"""
ok_operations = ['ptr_nonzero', 'free', 'same_as',
- 'direct_ptradd', 'force_cast']
+ 'direct_ptradd', 'force_cast', 'track_allocation']
def analyze_simple_operation(self, op, graphinfo):
if op.opname in self.ok_operations:
More information about the pypy-commit
mailing list