harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r467413 - /incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp
Date Tue, 24 Oct 2006 18:03:14 GMT
Author: geirm
Date: Tue Oct 24 11:03:13 2006
New Revision: 467413

URL: http://svn.apache.org/viewvc?view=rev&rev=467413
Log:
HARMONY-1740

The org.vmmagic.unboxed.Offset class ops like:

 boolean sGE(Offset off2)
 boolean sGT(Offset off2)
 boolean sLE(Offset off2)
 boolean sLT(Offset off2)

are not implemented in Jitrino.OPT
 
Seems harmless.  did no damage :)

Ubuntu 6 - smoke, c-unit, ~kernel



Modified:
    incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp?view=diff&rev=467413&r1=467412&r2=467413
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp
(original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp
Tue Oct 24 11:03:13 2006
@@ -3552,13 +3552,18 @@
     //
     ComparisonModifier cm = Cmp_Mask;
     bool commuteOpnds=false;
-    if (!strcmp(mname, "EQ"))          { cm = Cmp_EQ; }
-    else if (!strcmp(mname, "equals")) { cm = Cmp_EQ; }
-    else if (!strcmp(mname, "NE"))     { cm = Cmp_NE_Un; }
-    else if (!strcmp(mname, "GE"))     { cm = Cmp_GTE;}
-    else if (!strcmp(mname, "GT"))     { cm = Cmp_GT; }
-    else if (!strcmp(mname, "LE"))     { cm = Cmp_GTE;  commuteOpnds = true;}
-    else if (!strcmp(mname, "LT"))     { cm = Cmp_GT;  commuteOpnds = true;}
+    if (!strcmp(mname, "EQ"))         { cm = Cmp_EQ; }
+    else if (!strcmp(mname, "equals")){ cm = Cmp_EQ; }
+    else if (!strcmp(mname, "NE"))    { cm = Cmp_NE_Un; }
+    else if (!strcmp(mname, "GE"))    { cm = Cmp_GTE_Un;}
+    else if (!strcmp(mname, "GT"))    { cm = Cmp_GT_Un; }
+    else if (!strcmp(mname, "LE"))    { cm = Cmp_GTE_Un; commuteOpnds = true;}
+    else if (!strcmp(mname, "LT"))    { cm = Cmp_GT_Un;  commuteOpnds = true;}
+    else if (!strcmp(mname, "sGE"))   { cm = Cmp_GTE;}
+    else if (!strcmp(mname, "sGT"))   { cm = Cmp_GT; }
+    else if (!strcmp(mname, "sLE"))   { cm = Cmp_GTE; commuteOpnds = true;}
+    else if (!strcmp(mname, "sLT"))   { cm = Cmp_GT;  commuteOpnds = true;}
+
     if (cm!=Cmp_Mask) {
         assert(numArgs == 2);
         assert(arg0->getType() == arg1->getType());



Mime
View raw message