Author: Richard Plangger <planri...@gmail.com>
Branch: ppc-vsx-support
Changeset: r88032:ba7a27ee1304
Date: 2016-11-01 16:20 +0100
http://bitbucket.org/pypy/pypy/changeset/ba7a27ee1304/

Log:    clear the forwarding information of the prefixed operations as well

diff --git a/rpython/jit/metainterp/optimizeopt/vector.py 
b/rpython/jit/metainterp/optimizeopt/vector.py
--- a/rpython/jit/metainterp/optimizeopt/vector.py
+++ b/rpython/jit/metainterp/optimizeopt/vector.py
@@ -83,7 +83,12 @@
             oplist = self.prefix
         if label:
             oplist = [self.label] + oplist
-        return oplist + self.operations + [self.jump]
+        if label != True:
+            for op in oplist:
+                op.set_forwarded(None)
+            self.jump.set_forwarded(None)
+        ops = oplist + self.operations + [self.jump]
+        return ops
 
     def clone(self):
         renamer = Renamer()
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to