[pypy-svn] r47588 - pypy/dist/pypy/translator/js

fijal at codespeak.net fijal at codespeak.net
Fri Oct 19 16:05:22 CEST 2007


Author: fijal
Date: Fri Oct 19 16:05:22 2007
New Revision: 47588

Modified:
   pypy/dist/pypy/translator/js/opcodes.py
Log:
Proper operations


Modified: pypy/dist/pypy/translator/js/opcodes.py
==============================================================================
--- pypy/dist/pypy/translator/js/opcodes.py	(original)
+++ pypy/dist/pypy/translator/js/opcodes.py	Fri Oct 19 16:05:22 2007
@@ -33,9 +33,10 @@
 }
 
 opcodes = {'int_mul': '*',
+    'int_mul_ovf' : '*', # XXX overflow
     'int_add': '+',
     'int_add_ovf': '+', # XXX overflow
-    'int_add_ovf_nonneg': 'x', # XXX overflow
+    'int_add_nonneg_ovf': '+', # XXX overflow
     'int_sub': '-',
     'int_sub_ovf': '-', # XXX overflow
     'int_floordiv': '/',



More information about the Pypy-commit mailing list