aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpenser Bauman <sabauma@gmail.com>2015-10-08 14:53:26 -0400
committerSpenser Bauman <sabauma@gmail.com>2015-10-08 14:53:26 -0400
commit4f82f555c5656efed051f6f4790e2764a17b29c0 (patch)
treebedf0ed20f637c583b1511aa0333e79e81042363 /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)
downloadpypy-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.py4
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)
#