[pypy-svn] pypy default: teach the jvm backend how to cast between signed and unsigned
antocuni
commits-noreply at bitbucket.org
Mon Apr 11 17:37:34 CEST 2011
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch:
Changeset: r43298:d6d408608ff5
Date: 2011-04-11 14:07 +0200
http://bitbucket.org/pypy/pypy/changeset/d6d408608ff5/
Log: teach the jvm backend how to cast between signed and unsigned
diff --git a/pypy/translator/jvm/metavm.py b/pypy/translator/jvm/metavm.py
--- a/pypy/translator/jvm/metavm.py
+++ b/pypy/translator/jvm/metavm.py
@@ -99,6 +99,8 @@
(ootype.Unsigned, ootype.SignedLongLong): jvm.PYPYUINTTOLONG,
(ootype.UnsignedLongLong, ootype.SignedLongLong): None,
(ootype.SignedLongLong, ootype.UnsignedLongLong): None,
+ (ootype.Signed, ootype.Unsigned): None,
+ (ootype.Unsigned, ootype.Signed): None,
}
class _CastPrimitive(MicroInstruction):
More information about the Pypy-commit
mailing list