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

arigo at codespeak.net arigo at codespeak.net
Sat Dec 22 10:23:42 CET 2007


Author: arigo
Date: Sat Dec 22 10:23:41 2007
New Revision: 49999

Modified:
   pypy/dist/pypy/objspace/flow/model.py
Log:
Trying to check this in in order to see how many tests fail.
Will revert immediately.


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 10:23:41 2007
@@ -522,6 +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)
                 definevar(op.result)
 
             exc_links = {}



More information about the Pypy-commit mailing list