[pypy-svn] r64814 - pypy/branch/pyjitpl5/pypy/rpython/lltypesystem

arigo at codespeak.net arigo at codespeak.net
Wed Apr 29 17:11:51 CEST 2009


Author: arigo
Date: Wed Apr 29 17:11:50 2009
New Revision: 64814

Modified:
   pypy/branch/pyjitpl5/pypy/rpython/lltypesystem/lloperation.py
Log:
Add a comment.


Modified: pypy/branch/pyjitpl5/pypy/rpython/lltypesystem/lloperation.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/rpython/lltypesystem/lloperation.py	(original)
+++ pypy/branch/pyjitpl5/pypy/rpython/lltypesystem/lloperation.py	Wed Apr 29 17:11:50 2009
@@ -199,6 +199,7 @@
               # ^^^ more efficient version when 2nd arg is nonneg
     'int_sub_ovf':          LLOp(canraise=(OverflowError,), tryfold=True),
     'int_mul_ovf':          LLOp(canraise=(OverflowError,), tryfold=True),
+    # the following operations overflow in one case: (-sys.maxint-1) // (-1)
     'int_floordiv_ovf':     LLOp(canraise=(OverflowError,), tryfold=True),
     'int_floordiv_ovf_zer': LLOp(canraise=(OverflowError, ZeroDivisionError),
                                                             tryfold=True),



More information about the Pypy-commit mailing list