[vmkit-commits] [vmkit] r56212 - /vmkit/branches/isolate/lib/JnJVM/VMCore/JavaJIT.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Mon Sep 15 06:27:00 PDT 2008


Author: geoffray
Date: Mon Sep 15 08:27:00 2008
New Revision: 56212

URL: http://llvm.org/viewvc/llvm-project?rev=56212&view=rev
Log:
Getting a string out of a constant pool does not throw an exception.


Modified:
    vmkit/branches/isolate/lib/JnJVM/VMCore/JavaJIT.cpp

Modified: vmkit/branches/isolate/lib/JnJVM/VMCore/JavaJIT.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/branches/isolate/lib/JnJVM/VMCore/JavaJIT.cpp?rev=56212&r1=56211&r2=56212&view=diff

==============================================================================
--- vmkit/branches/isolate/lib/JnJVM/VMCore/JavaJIT.cpp (original)
+++ vmkit/branches/isolate/lib/JnJVM/VMCore/JavaJIT.cpp Mon Sep 15 08:27:00 2008
@@ -1151,7 +1151,7 @@
 #ifdef MULTIPLE_VM
     // Lookup the constant pool cache
     Value* val = getConstantPoolAt(index, JnjvmModule::StringLookupFunction,
-                                   JnjvmModule::JavaObjectType, 0, true);
+                                   JnjvmModule::JavaObjectType, 0, false);
     push(val, AssessorDesc::dRef);  
 #else
     const UTF8* utf8 = ctpInfo->UTF8At(ctpInfo->ctpDef[index]);





More information about the vmkit-commits mailing list