diff options
author | Spenser Bauman <sabauma@gmail.com> | 2015-10-08 14:53:26 -0400 |
---|---|---|
committer | Spenser Bauman <sabauma@gmail.com> | 2015-10-08 14:53:26 -0400 |
commit | 4f82f555c5656efed051f6f4790e2764a17b29c0 (patch) | |
tree | bedf0ed20f637c583b1511aa0333e79e81042363 /rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py | |
parent | - add a hack to check that the operation in the test and the descr both agree (diff) | |
download | pypy-4f82f555c5656efed051f6f4790e2764a17b29c0.tar.gz pypy-4f82f555c5656efed051f6f4790e2764a17b29c0.tar.bz2 pypy-4f82f555c5656efed051f6f4790e2764a17b29c0.zip |
fix some more test cases
Diffstat (limited to 'rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py')
-rw-r--r-- | rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py b/rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py index 076d5dd784..d80f5c9c0d 100644 --- a/rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py +++ b/rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py @@ -1531,7 +1531,7 @@ class BaseTestOptimizeBasic(BaseTestBasic): setfield_gc(p1, i1, descr=valuedescr) # # some operations on which the above setfield_gc cannot have effect - i3 = getarrayitem_gc_pure_i(p3, 1, descr=arraydescr) + i3 = getarrayitem_gc_i(p3, 1, descr=arraydescr) i4 = getarrayitem_gc_i(p3, i3, descr=arraydescr) i5 = int_add(i3, i4) setarrayitem_gc(p3, 0, i5, descr=arraydescr) @@ -1543,7 +1543,7 @@ class BaseTestOptimizeBasic(BaseTestBasic): expected = """ [p1, i1, i2, p3] # - i3 = getarrayitem_gc_pure_i(p3, 1, descr=arraydescr) + i3 = getarrayitem_gc_i(p3, 1, descr=arraydescr) i4 = getarrayitem_gc_i(p3, i3, descr=arraydescr) i5 = int_add(i3, i4) # |