[pypy-svn] r70710 - pypy/trunk/pypy/jit/metainterp/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Tue Jan 19 16:30:14 CET 2010
Author: cfbolz
Date: Tue Jan 19 16:30:14 2010
New Revision: 70710
Modified:
pypy/trunk/pypy/jit/metainterp/test/test_basic.py
Log:
simplify it a tiny bit
Modified: pypy/trunk/pypy/jit/metainterp/test/test_basic.py
==============================================================================
--- pypy/trunk/pypy/jit/metainterp/test/test_basic.py (original)
+++ pypy/trunk/pypy/jit/metainterp/test/test_basic.py Tue Jan 19 16:30:14 2010
@@ -1268,7 +1268,7 @@
while x > 0:
myjitdriver.can_enter_jit(x=x, res=res, a=a, const=const)
myjitdriver.jit_merge_point(x=x, res=res, a=a, const=const)
- if glob.a is not None and type(glob.a) is B:
+ if type(glob.a) is B:
res += 1
if a is None:
a = A()
More information about the Pypy-commit
mailing list