Author: Maciej Fijalkowski <[email protected]>
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:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to