[pypy-commit] pypy result-in-resops: missing replace

fijal noreply at buildbot.pypy.org
Wed Sep 26 11:30:24 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: result-in-resops
Changeset: r57600:567dff1d3c6c
Date: 2012-09-26 11:15 +0200
http://bitbucket.org/pypy/pypy/changeset/567dff1d3c6c/

Log:	missing replace

diff --git a/pypy/jit/metainterp/optimizeopt/virtualize.py b/pypy/jit/metainterp/optimizeopt/virtualize.py
--- a/pypy/jit/metainterp/optimizeopt/virtualize.py
+++ b/pypy/jit/metainterp/optimizeopt/virtualize.py
@@ -389,6 +389,7 @@
         # but the point is that doing so does not force the original structure.
         new_op = create_resop_1(rop.NEW_WITH_VTABLE, llhelper.NULLREF,
                                 c_cls)
+        self.replace(op, new_op)
         vrefvalue = self.make_virtual(c_cls, new_op)
         token_op = create_resop_0(rop.FORCE_TOKEN, 0)
         self.emit_operation(token_op)


More information about the pypy-commit mailing list