[pypy-svn] r64030 - pypy/branch/pyjitpl5-simplify/pypy/rpython

arigo at codespeak.net arigo at codespeak.net
Mon Apr 13 18:44:11 CEST 2009


Author: arigo
Date: Mon Apr 13 18:44:09 2009
New Revision: 64030

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/rpython/llinterp.py
Log:
Mark with an XXX an unresolved (very minor) issue.


Modified: pypy/branch/pyjitpl5-simplify/pypy/rpython/llinterp.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/rpython/llinterp.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/rpython/llinterp.py	Mon Apr 13 18:44:09 2009
@@ -1050,9 +1050,9 @@
     _makefunc2('op_int_add_ovf', '+', '(int, llmemory.AddressOffset)')
     _makefunc2('op_int_mul_ovf', '*', '(int, llmemory.AddressOffset)', 'int')
     _makefunc2('op_int_sub_ovf',          '-',  'int')
-    _makefunc2('op_int_floordiv_ovf',     '//', 'int')
-    _makefunc2('op_int_floordiv_zer',     '//', 'int')
-    _makefunc2('op_int_floordiv_ovf_zer', '//', 'int')
+    _makefunc2('op_int_floordiv_ovf',     '//', 'int')  # XXX negative args
+    _makefunc2('op_int_floordiv_zer',     '//', 'int')  # can get off-by-one
+    _makefunc2('op_int_floordiv_ovf_zer', '//', 'int')  # (see op_int_floordiv)
     _makefunc2('op_int_mod_ovf',          '%',  'int')
     _makefunc2('op_int_mod_zer',          '%',  'int')
     _makefunc2('op_int_mod_ovf_zer',      '%',  'int')



More information about the Pypy-commit mailing list