harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wjwashb...@apache.org
Subject svn commit: r452535 - /incubator/harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp
Date Tue, 03 Oct 2006 15:17:39 GMT
Author: wjwashburn
Date: Tue Oct  3 08:17:38 2006
New Revision: 452535

URL: http://svn.apache.org/viewvc?view=rev&rev=452535
Log:
HARMONY-1489, magic6.diff.   MMTk-style magics for Jitrino.OPT.  This adds support for em64t
which was forgotten in the original commit

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=452535&r1=452534&r2=452535
==============================================================================
--- 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  3 08:17:38 2006
@@ -41,12 +41,13 @@
     
 static bool isMagicClass(Type* type) {
 #ifdef _EM64T_
-    return false;//magics are not supported on EM64T today.
-#endif
+    return false;//magics are not tested on EM64T.
+#else
     static const char unboxedName[] = "org/vmmagic/unboxed/";
     static const unsigned nameLen = sizeof(unboxedName)-1;
     const char* name = type->getName();
     return !strncmp(name, unboxedName, nameLen);
+#endif    
 }
 
 static bool isMagicMethod(MethodDesc* md) {



Mime
View raw message