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

fijal at codespeak.net fijal at codespeak.net
Sun Mar 18 12:21:52 CET 2007


Author: fijal
Date: Sun Mar 18 12:21:49 2007
New Revision: 40663

Modified:
   pypy/dist/pypy/translator/js/opcodes.py
Log:
Cast float to long long


Modified: pypy/dist/pypy/translator/js/opcodes.py
==============================================================================
--- pypy/dist/pypy/translator/js/opcodes.py	(original)
+++ pypy/dist/pypy/translator/js/opcodes.py	Sun Mar 18 12:21:49 2007
@@ -148,6 +148,7 @@
     'cast_uint_to_float':       CopyName,
     'cast_float_to_int':        [PushAllArgs,_CastFun("Math.floor",1)],
     'cast_float_to_uint':       [PushAllArgs,_CastFun("Math.floor",1)],
+    'cast_float_to_longlong':   [PushAllArgs,_CastFun("Math.floor",1)],
     'truncate_longlong_to_int': CopyName,
     
     'debug_assert' : DoNothing,



More information about the Pypy-commit mailing list