[pypy-svn] r65490 - pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp
fijal at codespeak.net
fijal at codespeak.net
Fri May 29 04:04:56 CEST 2009
Author: fijal
Date: Fri May 29 04:04:55 2009
New Revision: 65490
Modified:
pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/optimize2.py
Log:
getfield_gc_pure and getfield_gc are the same when it comes to virtuals
Modified: pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/optimize2.py
==============================================================================
--- pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/optimize2.py (original)
+++ pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/optimize2.py Fri May 29 04:04:55 2009
@@ -411,6 +411,8 @@
spec.nodes[op.result] = instnode.cleanfields[field]
return True
+ optimize_getfield_gc_pure = optimize_getfield_gc
+
@staticmethod
def optimize_oononnull(op, spec):
instnode = spec.getnode(op.args[0])
More information about the Pypy-commit
mailing list