[vmkit-commits] [vmkit] r103871 - /vmkit/trunk/lib/J3/Compiler/JavaAOTCompiler.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Sat May 15 08:54:50 PDT 2010


Author: geoffray
Date: Sat May 15 10:54:49 2010
New Revision: 103871

URL: http://llvm.org/viewvc/llvm-project?rev=103871&view=rev
Log:
A GV holder for a native method is not a constant.


Modified:
    vmkit/trunk/lib/J3/Compiler/JavaAOTCompiler.cpp

Modified: vmkit/trunk/lib/J3/Compiler/JavaAOTCompiler.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/J3/Compiler/JavaAOTCompiler.cpp?rev=103871&r1=103870&r2=103871&view=diff
==============================================================================
--- vmkit/trunk/lib/J3/Compiler/JavaAOTCompiler.cpp (original)
+++ vmkit/trunk/lib/J3/Compiler/JavaAOTCompiler.cpp Sat May 15 10:54:49 2010
@@ -559,7 +559,7 @@
     const llvm::Type* valPtrType = LSI->getNativePtrType();
     
     Module& Mod = *getLLVMModule();
-    varGV = new GlobalVariable(Mod, valPtrType, true,
+    varGV = new GlobalVariable(Mod, valPtrType, false,
                                GlobalValue::InternalLinkage,
                                Constant::getNullValue(valPtrType), "");
   





More information about the vmkit-commits mailing list