[pypy-svn] r70616 - pypy/trunk/pypy/module/pypyjit/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Fri Jan 15 16:52:25 CET 2010
Author: cfbolz
Date: Fri Jan 15 16:52:24 2010
New Revision: 70616
Modified:
pypy/trunk/pypy/module/pypyjit/test/test_pypy_c.py
Log:
missed a guard
Modified: pypy/trunk/pypy/module/pypyjit/test/test_pypy_c.py
==============================================================================
--- pypy/trunk/pypy/module/pypyjit/test/test_pypy_c.py (original)
+++ pypy/trunk/pypy/module/pypyjit/test/test_pypy_c.py Fri Jan 15 16:52:24 2010
@@ -443,6 +443,7 @@
bytecode, = self.get_by_bytecode("BINARY_SUBSCR")
assert bytecode.get_opnames("guard") == [
"guard_isnull", # check that the range list is not forced
+ "guard_false", # check that the index is >= 0
"guard_false", # check that the index is lower than the current length
]
bytecode, _ = self.get_by_bytecode("FOR_ITER") # second bytecode is the end of the loop
More information about the Pypy-commit
mailing list