[pypy-commit] pypy ssa-flow: fix 2 tests: replace expected results with equivalent forms

rlamy noreply at buildbot.pypy.org
Sun Nov 16 05:27:17 CET 2014


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: ssa-flow
Changeset: r74536:a1d79d171f8f
Date: 2014-11-16 04:15 +0000
http://bitbucket.org/pypy/pypy/changeset/a1d79d171f8f/

Log:	fix 2 tests: replace expected results with equivalent forms

diff --git a/rpython/jit/codewriter/test/test_flatten.py b/rpython/jit/codewriter/test/test_flatten.py
--- a/rpython/jit/codewriter/test/test_flatten.py
+++ b/rpython/jit/codewriter/test/test_flatten.py
@@ -197,10 +197,10 @@
             int_gt %i2, $0 -> %i4
             goto_if_not %i4, L2
             -live- L2
-            int_copy %i2 -> %i5
-            int_copy %i3 -> %i6
-            int_add %i6, %i5 -> %i7
-            int_sub %i5, $1 -> %i8
+            int_copy %i3 -> %i5
+            int_copy %i2 -> %i6
+            int_add %i5, %i6 -> %i7
+            int_sub %i6, $1 -> %i8
             int_copy %i8 -> %i2
             int_copy %i7 -> %i3
             goto L1
@@ -221,10 +221,10 @@
             L1:
             goto_if_not_int_gt %i2, $0, L2
             -live- L2
-            int_copy %i2 -> %i4
-            int_copy %i3 -> %i5
-            int_add %i5, %i4 -> %i6
-            int_sub %i4, $1 -> %i7
+            int_copy %i3 -> %i4
+            int_copy %i2 -> %i5
+            int_add %i4, %i5 -> %i6
+            int_sub %i5, $1 -> %i7
             int_copy %i7 -> %i2
             int_copy %i6 -> %i3
             goto L1


More information about the pypy-commit mailing list