[pypy-commit] pypy lightweight-finalizers: raw_free is also fine

fijal noreply at buildbot.pypy.org
Sun Oct 9 21:58:00 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: lightweight-finalizers
Changeset: r47915:0316138a9f44
Date: 2011-10-09 21:57 +0200
http://bitbucket.org/pypy/pypy/changeset/0316138a9f44/

Log:	raw_free is also 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,8 @@
     * anything that can allocate
     """
     ok_operations = ['ptr_nonzero', 'free', 'same_as',
-                     'direct_ptradd', 'force_cast', 'track_allocation']
+                     'direct_ptradd', 'force_cast', 'track_allocation',
+                     'raw_free']
     
     def analyze_simple_operation(self, op, graphinfo):
         if op.opname in self.ok_operations:


More information about the pypy-commit mailing list