[vmkit-commits] [vmkit] r61813 - /vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Tue Jan 6 07:57:22 PST 2009
Author: geoffray
Date: Tue Jan 6 09:57:14 2009
New Revision: 61813
URL: http://llvm.org/viewvc/llvm-project?rev=61813&view=rev
Log:
Strings are no constants.
Modified:
vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp
Modified: vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp?rev=61813&r1=61812&r2=61813&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp Tue Jan 6 09:57:14 2009
@@ -209,7 +209,7 @@
LLVMClassInfo* LCI = (LLVMClassInfo*)getClassInfo((Class*)str->classOf);
const llvm::Type* Ty = LCI->getVirtualType();
GlobalVariable* varGV =
- new GlobalVariable(Ty->getContainedType(0), true,
+ new GlobalVariable(Ty->getContainedType(0), false,
GlobalValue::ExternalLinkage,
0, "", this);
Constant* res = ConstantExpr::getCast(Instruction::BitCast, varGV,
More information about the vmkit-commits
mailing list