[pypy-commit] pypy guard-compatible: Ah no, of course we don't have to cache find_compatible() when it returns 0
arigo
pypy.commits at gmail.com
Fri May 20 11:17:03 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
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):
More information about the pypy-commit
mailing list