[pypy-svn] r66634 - pypy/branch/pyjitpl5/pypy/jit/backend/x86

fijal at codespeak.net fijal at codespeak.net
Sun Jul 26 12:35:14 CEST 2009


Author: fijal
Date: Sun Jul 26 12:35:12 2009
New Revision: 66634

Modified:
   pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py
Log:
Add a sanity check. The reason is that I called previous interface
execute_operations(loop, [args]) and it was understood as verbose


Modified: pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/x86/runner.py	Sun Jul 26 12:35:12 2009
@@ -258,6 +258,7 @@
         return loop
 
     def execute_operations(self, loop, verbose=False):
+        assert isinstance(verbose, bool)
         func = self.get_bootstrap_code(loop)
         # debug info
         #if self.debug and not we_are_translated():



More information about the Pypy-commit mailing list