Author: Carl Friedrich Bolz <[email protected]>
Branch: int-tag-untag-as-operations
Changeset: r48499:be97182b1a31
Date: 2011-10-27 11:52 +0200
http://bitbucket.org/pypy/pypy/changeset/be97182b1a31/
Log: those are also not needed
diff --git a/pypy/jit/metainterp/test/test_immutable.py
b/pypy/jit/metainterp/test/test_immutable.py
--- a/pypy/jit/metainterp/test/test_immutable.py
+++ b/pypy/jit/metainterp/test/test_immutable.py
@@ -64,7 +64,7 @@
l[2] = 30
a = escape(X(l))
return a.y[index]
- res = self.interp_operations(f, [2], listops=True)
+ res = self.interp_operations(f, [2])
assert res == 30
self.check_operations_history(getfield_gc=0, getfield_gc_pure=1,
getarrayitem_gc=0, getarrayitem_gc_pure=1)
@@ -82,7 +82,7 @@
def f(x, index):
y = escape(X([x], x+1))
return y.lst[index] + y.y + 5
- res = self.interp_operations(f, [23, 0], listops=True)
+ res = self.interp_operations(f, [23, 0])
assert res == 23 + 24 + 5
self.check_operations_history(getfield_gc=0, getfield_gc_pure=2,
getarrayitem_gc=0, getarrayitem_gc_pure=1,
diff --git a/pypy/jit/metainterp/test/test_list.py
b/pypy/jit/metainterp/test/test_list.py
--- a/pypy/jit/metainterp/test/test_list.py
+++ b/pypy/jit/metainterp/test/test_list.py
@@ -123,7 +123,7 @@
l2 = l[:]
return l2[0] + l2[1] + l2[2] + l2[3]
- res = self.interp_operations(f, [], listops=True)
+ res = self.interp_operations(f, [])
assert res == 10
def test_arraycopy_full(self):
diff --git a/pypy/jit/metainterp/test/test_slist.py
b/pypy/jit/metainterp/test/test_slist.py
--- a/pypy/jit/metainterp/test/test_slist.py
+++ b/pypy/jit/metainterp/test/test_slist.py
@@ -31,7 +31,7 @@
lst2.append(FooBar(5))
m += lst2.pop().z # 49
return m
- res = self.interp_operations(f, [11], listops=True)
+ res = self.interp_operations(f, [11])
assert res == 49
self.check_operations_history(call=3)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit