[pypy-svn] r14270 - pypy/dist/pypy/interpreter

arigo at codespeak.net arigo at codespeak.net
Tue Jul 5 13:09:15 CEST 2005


Author: arigo
Date: Tue Jul  5 13:09:14 2005
New Revision: 14270

Modified:
   pypy/dist/pypy/interpreter/pyopcode.py
Log:
Added some XXXs about DIVIDE vs TRUE_DIVIDE.


Modified: pypy/dist/pypy/interpreter/pyopcode.py
==============================================================================
--- pypy/dist/pypy/interpreter/pyopcode.py	(original)
+++ pypy/dist/pypy/interpreter/pyopcode.py	Tue Jul  5 13:09:14 2005
@@ -171,6 +171,7 @@
     BINARY_TRUE_DIVIDE  = binaryoperation("truediv")
     BINARY_FLOOR_DIVIDE = binaryoperation("floordiv")
     BINARY_DIVIDE       = binaryoperation("div")
+    # XXX BINARY_DIVIDE must fall back to BINARY_TRUE_DIVIDE with -Qnew
     BINARY_MODULO       = binaryoperation("mod")
     BINARY_ADD      = binaryoperation("add")
     BINARY_SUBTRACT = binaryoperation("sub")
@@ -191,6 +192,7 @@
     INPLACE_TRUE_DIVIDE  = binaryoperation("inplace_truediv")
     INPLACE_FLOOR_DIVIDE = binaryoperation("inplace_floordiv")
     INPLACE_DIVIDE       = binaryoperation("inplace_div")
+    # XXX INPLACE_DIVIDE must fall back to INPLACE_TRUE_DIVIDE with -Qnew
     INPLACE_MODULO       = binaryoperation("inplace_mod")
     INPLACE_ADD      = binaryoperation("inplace_add")
     INPLACE_SUBTRACT = binaryoperation("inplace_sub")



More information about the Pypy-commit mailing list