[vmkit-commits] [vmkit] r60176 - /vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Thu Nov 27 08:47:20 PST 2008


Author: geoffray
Date: Thu Nov 27 10:47:20 2008
New Revision: 60176

URL: http://llvm.org/viewvc/llvm-project?rev=60176&view=rev
Log:
Set the constant pool type to constant pools transcribed in LLVM.


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=60176&r1=60175&r2=60176&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp Thu Nov 27 10:47:20 2008
@@ -99,8 +99,8 @@
     assert(ptr && "No constant pool found");
     Constant* cons = 
       ConstantExpr::getIntToPtr(ConstantInt::get(Type::Int64Ty, uint64(ptr)),
-                                mvm::MvmModule::ptrPtrType);
-    varGV = new GlobalVariable(mvm::MvmModule::ptrPtrType, !staticCompilation,
+                                ConstantPoolType);
+    varGV = new GlobalVariable(ConstantPoolType, !staticCompilation,
                                GlobalValue::ExternalLinkage,
                                cons, "", this);
     constantPools.insert(std::make_pair(ctp, varGV));





More information about the vmkit-commits mailing list