[pypy-svn] r52003 - pypy/branch/jit-refactoring/pypy/jit/rainbow

cfbolz at codespeak.net cfbolz at codespeak.net
Sat Mar 1 16:23:12 CET 2008


Author: cfbolz
Date: Sat Mar  1 16:23:11 2008
New Revision: 52003

Modified:
   pypy/branch/jit-refactoring/pypy/jit/rainbow/codewriter.py
Log:
nonsense assertion


Modified: pypy/branch/jit-refactoring/pypy/jit/rainbow/codewriter.py
==============================================================================
--- pypy/branch/jit-refactoring/pypy/jit/rainbow/codewriter.py	(original)
+++ pypy/branch/jit-refactoring/pypy/jit/rainbow/codewriter.py	Sat Mar  1 16:23:11 2008
@@ -228,7 +228,7 @@
             cand = 0
             if (op.opname == 'hint' and
                 op.args[1].value == {'global_merge_point': True}):
-                assert not self.is_portal, "global_merge_point can appare only in portal"
+                assert self.is_portal, "global_merge_point can appare only in portal"
                 hashint = True
                 if block is startblock or len(entrymap[block]) > 1:
                     global_merge_blocks[block] = True



More information about the Pypy-commit mailing list