[pypy-svn] r65535 - pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp
cfbolz at codespeak.net
cfbolz at codespeak.net
Tue Jun 2 13:29:11 CEST 2009
Author: cfbolz
Date: Tue Jun 2 13:29:08 2009
New Revision: 65535
Modified:
pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/codewriter.py
Log:
Fix nonsense checked in in revision 65504.
Modified: pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/codewriter.py
==============================================================================
--- pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/codewriter.py (original)
+++ pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/codewriter.py Tue Jun 2 13:29:08 2009
@@ -932,10 +932,7 @@
pure = False
if op.opname == "direct_call":
func = getattr(get_funcobj(op.args[0].value), '_callable', None)
- if func is None:
- pure = getattr(func, "_pure_function_", False)
- else:
- pure = False # a portal, likely
+ pure = getattr(func, "_pure_function_", False)
try:
canraise = self.raise_analyzer.can_raise(op)
except lltype.DelayedPointer:
More information about the Pypy-commit
mailing list