[pypy-svn] r50007 - pypy/dist/pypy/objspace/flow

arigo at codespeak.net arigo at codespeak.net
Sat Dec 22 16:03:40 CET 2007


Author: arigo
Date: Sat Dec 22 16:03:38 2007
New Revision: 50007

Modified:
   pypy/dist/pypy/objspace/flow/model.py
Log:
No failure - it seems we don't have an indirect_call() to a Constant
in our whole test suite.  Good I guess.


Modified: pypy/dist/pypy/objspace/flow/model.py
==============================================================================
--- pypy/dist/pypy/objspace/flow/model.py	(original)
+++ pypy/dist/pypy/objspace/flow/model.py	Sat Dec 22 16:03:38 2007
@@ -522,8 +522,8 @@
                         #assert v.value != last_exc_value
                 if op.opname == 'direct_call':
                     assert isinstance(op.args[0], Constant)
-                #elif op.opname == 'indirect_call':
-                #    assert isinstance(op.args[0], Variable)
+                elif op.opname == 'indirect_call':
+                    assert isinstance(op.args[0], Variable)
                 definevar(op.result)
 
             exc_links = {}



More information about the Pypy-commit mailing list