[llvm-commits] [vmkit] r50207 - /vmkit/trunk/lib/JnJVM/VMCore/Jnjvm.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Thu Apr 24 01:47:12 PDT 2008


Author: geoffray
Date: Thu Apr 24 03:47:11 2008
New Revision: 50207

URL: http://llvm.org/viewvc/llvm-project?rev=50207&view=rev
Log:
JVM Specification does not require implemented interfaces to be clinited.


Modified:
    vmkit/trunk/lib/JnJVM/VMCore/Jnjvm.cpp

Modified: vmkit/trunk/lib/JnJVM/VMCore/Jnjvm.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/Jnjvm.cpp?rev=50207&r1=50206&r2=50207&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/Jnjvm.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/Jnjvm.cpp Thu Apr 24 03:47:11 2008
@@ -318,9 +318,7 @@
       if (cl->super) {
         cl->super->initialiseClass();
       }
-      for (uint32 i = 0; i < cl->interfaces.size(); i++) {
-        cl->interfaces[i]->initialiseClass();
-      }
+      
       cl->status = inClinit;
       JavaMethod* meth = cl->lookupMethodDontThrow(clinitName, clinitType, true,
                                                    false);





More information about the llvm-commits mailing list