[pypy-svn] r68229 - pypy/trunk/pypy/translator/jvm

afa at codespeak.net afa at codespeak.net
Wed Oct 7 13:27:54 CEST 2009


Author: afa
Date: Wed Oct  7 13:27:54 2009
New Revision: 68229

Modified:
   pypy/trunk/pypy/translator/jvm/metavm.py
   pypy/trunk/pypy/translator/jvm/opcodes.py
Log:
Fix --backend=jvm translation

I'm not sure about the SignedLongLong->UnsignedLongLong cast, though.


Modified: pypy/trunk/pypy/translator/jvm/metavm.py
==============================================================================
--- pypy/trunk/pypy/translator/jvm/metavm.py	(original)
+++ pypy/trunk/pypy/translator/jvm/metavm.py	Wed Oct  7 13:27:54 2009
@@ -95,6 +95,7 @@
     (ootype.UnsignedLongLong, ootype.Unsigned):         jvm.L2I,
     (ootype.UnsignedLongLong, ootype.Signed):           jvm.L2I,
     (ootype.UnsignedLongLong, ootype.SignedLongLong):   None,
+    (ootype.SignedLongLong,   ootype.UnsignedLongLong): None,
     }
 
 class _CastPrimitive(MicroInstruction):

Modified: pypy/trunk/pypy/translator/jvm/opcodes.py
==============================================================================
--- pypy/trunk/pypy/translator/jvm/opcodes.py	(original)
+++ pypy/trunk/pypy/translator/jvm/opcodes.py	Wed Oct  7 13:27:54 2009
@@ -96,6 +96,7 @@
     'gc__collect':              jvm.SYSTEMGC,
     'gc_set_max_heap_size':     Ignore,
     'resume_point':             Ignore,
+    'jit_marker':               Ignore,
     'promote_virtualizable':    Ignore,
 
     'debug_assert':              [], # TODO: implement?



More information about the Pypy-commit mailing list