[llvm-commits] [vmkit] r50421 - /vmkit/trunk/lib/JnJVM/VMCore/JavaJIT.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Tue Apr 29 08:00:28 PDT 2008


Author: geoffray
Date: Tue Apr 29 10:00:28 2008
New Revision: 50421

URL: http://llvm.org/viewvc/llvm-project?rev=50421&view=rev
Log:
Allow services to invoke "new" between each other.


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

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

==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JavaJIT.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JavaJIT.cpp Tue Apr 29 10:00:28 2008
@@ -1560,14 +1560,6 @@
   ctpInfo->checkInfoOfClass(index);
   
   Class* cl = (Class*)(ctpInfo->getMethodClassIfLoaded(index));
-#ifdef SERVICE_VM
-  if (cl && cl->classLoader != compilingClass->classLoader && 
-      cl->isolate != Jnjvm::bootstrapVM) {
-    ServiceDomain* vm = (ServiceDomain*)JavaThread::get()->isolate;
-    assert(vm->getVirtualTable() == ServiceDomain::VT && "vm not a service?");
-    vm->serviceError("The service called new on another service");
-  }
-#endif
   Value* val = 0;
   if (!cl || !(cl->isResolved())
 #ifndef MULTIPLE_VM





More information about the llvm-commits mailing list