Author: Armin Rigo <[email protected]>
Branch: guard-compatible
Changeset: r84528:e8a9ac39e5a8
Date: 2016-05-20 17:17 +0200
http://bitbucket.org/pypy/pypy/changeset/e8a9ac39e5a8/
Log: Ah no, of course we don't have to cache find_compatible() when it
returns 0
diff --git a/rpython/jit/backend/test/runner_test.py
b/rpython/jit/backend/test/runner_test.py
--- a/rpython/jit/backend/test/runner_test.py
+++ b/rpython/jit/backend/test/runner_test.py
@@ -263,8 +263,7 @@
assert fail.identifier == 2
else:
assert fail.identifier == 1
- if t not in expected:
- expected.append(t)
+ expected.append(t) # never cache returns of 0
assert seen == expected
def test_extend_guard_compatible_3(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit