[pypy-commit] pypy default: Updated this test for the new optimization

alex_gaynor noreply at buildbot.pypy.org
Mon Sep 30 06:06:34 CEST 2013


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r67139:f280bdb646f1
Date: 2013-09-29 21:06 -0700
http://bitbucket.org/pypy/pypy/changeset/f280bdb646f1/

Log:	Updated this test for the new optimization

diff --git a/pypy/module/pypyjit/test_pypy_c/test_string.py b/pypy/module/pypyjit/test_pypy_c/test_string.py
--- a/pypy/module/pypyjit/test_pypy_c/test_string.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_string.py
@@ -113,7 +113,7 @@
             i13 = strgetitem(p9, 0)
             i15 = int_eq(i13, 45)
             guard_false(i15, descr=...)
-            i17 = int_sub(0, i10)
+            i17 = int_neg(i10)
             i19 = int_gt(i10, 23)
             guard_false(i19, descr=...)
             p21 = newstr(23)


More information about the pypy-commit mailing list