[pypy-svn] r24962 - pypy/branch/explicit-exceptions/rpython/lltypesystem

mwh at codespeak.net mwh at codespeak.net
Fri Mar 24 15:00:25 CET 2006


Author: mwh
Date: Fri Mar 24 15:00:14 2006
New Revision: 24962

Modified:
   pypy/branch/explicit-exceptions/rpython/lltypesystem/lloperation.py
Log:
blah blah int_floordiv_zer.  this is getting boring :)


Modified: pypy/branch/explicit-exceptions/rpython/lltypesystem/lloperation.py
==============================================================================
--- pypy/branch/explicit-exceptions/rpython/lltypesystem/lloperation.py	(original)
+++ pypy/branch/explicit-exceptions/rpython/lltypesystem/lloperation.py	Fri Mar 24 15:00:14 2006
@@ -111,6 +111,7 @@
     'int_lshift':           LLOp(canfold=True),
     'int_rshift':           LLOp(canfold=True),
     'int_xor':              LLOp(canfold=True),
+    'int_floordiv_zer':     LLOp(canfold=True, canraise=(ZeroDivisionError,)),
     'int_add_ovf':          LLOp(canfold=True, canraise=(OverflowError,)),
     'int_sub_ovf':          LLOp(canfold=True, canraise=(OverflowError,)),
     'int_mul_ovf':          LLOp(canfold=True, canraise=(OverflowError,)),



More information about the Pypy-commit mailing list