Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r62774:3b34d83503ce
Date: 2013-03-25 17:31 -0700
http://bitbucket.org/pypy/pypy/changeset/3b34d83503ce/
Log: hopefully fix this test
diff --git a/pypy/module/pypyjit/test_pypy_c/test_call.py
b/pypy/module/pypyjit/test_pypy_c/test_call.py
--- a/pypy/module/pypyjit/test_pypy_c/test_call.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_call.py
@@ -339,6 +339,7 @@
loop, = log.loops_by_filename(self.filepath)
# the int strategy is used here
assert loop.match_by_id('append', """
+ guard_not_invalidated(descr=...)
i13 = getfield_gc(p8, descr=<FieldS list.length .*>)
i15 = int_add(i13, 1)
# Will be killed by the backend
@@ -581,7 +582,7 @@
d = {'a': 2, 'b': 3, 'd':4}
f(*a, **d) # ID: call
i += 1
- return 13
+ return 13
""", [1000])
loop, = log.loops_by_id('call')
assert loop.match_by_id('call', '''
@@ -602,7 +603,7 @@
while i < stop:
f(*a, **d) # ID: call
i += 1
- return 13
+ return 13
""", [1000])
def test_complex_case_loopconst(self):
@@ -617,5 +618,5 @@
while i < stop:
f(*a, **d) # ID: call
i += 1
- return 13
+ return 13
""", [1000])
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit