[pypy-commit] pypy guard-compatible: Fix the test
arigo
pypy.commits at gmail.com
Sun May 22 16:08:37 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
Branch: guard-compatible
Changeset: r84594:4d84fbd00118
Date: 2016-05-22 22:08 +0200
http://bitbucket.org/pypy/pypy/changeset/4d84fbd00118/
Log: Fix the test
diff --git a/rpython/jit/backend/x86/test/test_guard_compat.py b/rpython/jit/backend/x86/test/test_guard_compat.py
--- a/rpython/jit/backend/x86/test/test_guard_compat.py
+++ b/rpython/jit/backend/x86/test/test_guard_compat.py
@@ -3,7 +3,7 @@
def test_invalidate_cache():
b = lltype.malloc(BACKEND_CHOICES, 4)
- invalidate_cache(b)
+ invalidate_pair(b, BCMOSTRECENT)
x = b.bc_most_recent.gcref
assert rffi.cast(lltype.Unsigned, x) == r_uint(-1)
More information about the pypy-commit
mailing list