[pypy-svn] r62206 - pypy/branch/pyjitpl5/pypy/jit/backend/llgraph

arigo at codespeak.net arigo at codespeak.net
Fri Feb 27 10:35:10 CET 2009


Author: arigo
Date: Fri Feb 27 10:35:10 2009
New Revision: 62206

Modified:
   pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/llimpl.py
Log:
Add int_lshift.  When the llgraph backend crashes, make it
pause with a pdb for now.


Modified: pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/llimpl.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/llimpl.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/llimpl.py	Fri Feb 27 10:35:10 2009
@@ -47,6 +47,7 @@
 TYPES = {
     'int_add'         : (('int', 'int'), 'int'),
     'int_mod'         : (('int', 'int'), 'int'),
+    'int_lshift'      : (('int', 'int'), 'int'),
     'int_rshift'      : (('int', 'int'), 'int'),
     'int_and'         : (('int', 'int'), 'int'),
     'int_sub'         : (('int', 'int'), 'int'),
@@ -482,6 +483,7 @@
         raise e.args[0]
     except Exception, e:
         log.ERROR('%s in CPU frame: %s' % (e.__class__.__name__, e))
+        import sys, pdb; pdb.post_mortem(sys.exc_info()[2])
         raise
     return result
 



More information about the Pypy-commit mailing list