[pypy-svn] r65430 - pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp
fijal at codespeak.net
fijal at codespeak.net
Tue May 26 20:52:51 CEST 2009
Author: fijal
Date: Tue May 26 20:52:51 2009
New Revision: 65430
Modified:
pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/optimize2.py
Log:
append a dummy suboperations to that GUARD
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 Tue May 26 20:52:51 2009
@@ -112,6 +112,7 @@
gop = ResOperation(rop.GUARD_NONVIRTUALIZED,
[node.source], None)
gop.vdesc = node.vdesc
+ gop.suboperations = [ResOperation(rop.FAIL, [], None)]
op.suboperations.append(gop)
op.suboperations.append(ResOperation(rop.SETFIELD_GC,
[node.source, fieldnode.source], None, field))
@@ -120,6 +121,7 @@
box = fieldnode.source
gop = ResOperation(rop.GUARD_NONVIRTUALIZED,
[node.source], None)
+ gop.suboperations = [ResOperation(rop.FAIL, [], None)]
gop.vdesc = node.vdesc
op.suboperations.append(gop)
op.suboperations.append(ResOperation(rop.SETARRAYITEM_GC,
More information about the Pypy-commit
mailing list