[pypy-commit] pypy lightweight-finalizers: pointer comparisons
fijal
noreply at buildbot.pypy.org
Sun Oct 9 22:31:11 CEST 2011
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: lightweight-finalizers
Changeset: r47917:f59fad7e8cb5
Date: 2011-10-09 22:30 +0200
http://bitbucket.org/pypy/pypy/changeset/f59fad7e8cb5/
Log: pointer comparisons
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
@@ -11,7 +11,7 @@
* anything that escapes self
* anything that can allocate
"""
- ok_operations = ['ptr_nonzero', 'free', 'same_as',
+ ok_operations = ['ptr_nonzero', 'ptr_eq', 'ptr_ne', 'free', 'same_as',
'direct_ptradd', 'force_cast', 'track_alloc_stop',
'raw_free']
More information about the pypy-commit
mailing list