[pypy-svn] r12924 - pypy/dist/pypy/annotation
pedronis at codespeak.net
pedronis at codespeak.net
Tue May 31 15:29:06 CEST 2005
Author: pedronis
Date: Tue May 31 15:29:06 2005
New Revision: 12924
Modified:
pypy/dist/pypy/annotation/unaryop.py
Log:
is_true for pointers
Modified: pypy/dist/pypy/annotation/unaryop.py
==============================================================================
--- pypy/dist/pypy/annotation/unaryop.py (original)
+++ pypy/dist/pypy/annotation/unaryop.py Tue May 31 15:29:06 2005
@@ -456,3 +456,6 @@
llargs = [annotation_to_lltype(arg_s)._example() for arg_s in args_s]
v = p.ll_ptrtype._example()(*llargs)
return ll_to_annotation(v)
+
+ def is_true(p):
+ return SomeBool()
More information about the Pypy-commit
mailing list