Author: Armin Rigo <[email protected]>
Branch:
Changeset: r47745:f6cf1b602c40
Date: 2011-10-01 12:38 +0200
http://bitbucket.org/pypy/pypy/changeset/f6cf1b602c40/
Log: This simplification seems to fix the test.
diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py
--- a/pypy/rlib/jit.py
+++ b/pypy/rlib/jit.py
@@ -167,10 +167,7 @@
This is for advanced usage only.
"""
- # I hate the annotator so much.
- if NonConstant(False):
- return True
- return False
+ return NonConstant(False)
@oopspec("jit.isvirtual(value)")
@specialize.ll()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit