[vmkit-commits] [vmkit] r97026 - /vmkit/trunk/lib/N3/PNetLib/PNetString.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Tue Feb 23 22:54:21 PST 2010
Author: geoffray
Date: Wed Feb 24 00:54:20 2010
New Revision: 97026
URL: http://llvm.org/viewvc/llvm-project?rev=97026&view=rev
Log:
ptrType does not exist in MvmModule anymore.
Modified:
vmkit/trunk/lib/N3/PNetLib/PNetString.cpp
Modified: vmkit/trunk/lib/N3/PNetLib/PNetString.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/N3/PNetLib/PNetString.cpp?rev=97026&r1=97025&r2=97026&view=diff
==============================================================================
--- vmkit/trunk/lib/N3/PNetLib/PNetString.cpp (original)
+++ vmkit/trunk/lib/N3/PNetLib/PNetString.cpp Wed Feb 24 00:54:20 2010
@@ -44,7 +44,7 @@
if (!str->_llvmVar) {
N3* vm = VMThread::get()->getVM();
if (!str->_llvmVar) {
- const Type* pty = mvm::MvmModule::ptrType;
+ const Type* pty = PointerType::getUnqual(Type::getInt8Ty(getGlobalContext()));
Constant* cons =
ConstantExpr::getIntToPtr(ConstantInt::get(Type::getInt64Ty(getGlobalContext()), uint64_t (self)),
pty);
More information about the vmkit-commits
mailing list