[vmkit-commits] [vmkit] r71391 - /vmkit/trunk/lib/Mvm/Compiler/JIT.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Sun May 10 02:55:37 PDT 2009


Author: geoffray
Date: Sun May 10 04:55:32 2009
New Revision: 71391

URL: http://llvm.org/viewvc/llvm-project?rev=71391&view=rev
Log:
Move to new LLVM API.


Modified:
    vmkit/trunk/lib/Mvm/Compiler/JIT.cpp

Modified: vmkit/trunk/lib/Mvm/Compiler/JIT.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/Mvm/Compiler/JIT.cpp?rev=71391&r1=71390&r2=71391&view=diff

==============================================================================
--- vmkit/trunk/lib/Mvm/Compiler/JIT.cpp (original)
+++ vmkit/trunk/lib/Mvm/Compiler/JIT.cpp Sun May 10 04:55:32 2009
@@ -258,7 +258,7 @@
 
 
 uint64 MvmModule::getTypeSize(const llvm::Type* type) {
-  return TheTargetData->getTypePaddedSize(type);
+  return TheTargetData->getTypeAllocSize(type);
 }
 
 void MvmModule::runPasses(llvm::Function* func,





More information about the vmkit-commits mailing list