[vmkit-commits] [vmkit] r98389 - /vmkit/trunk/lib/Mvm/Compiler/JIT.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Fri Mar 12 13:10:34 PST 2010
Author: geoffray
Date: Fri Mar 12 15:10:34 2010
New Revision: 98389
URL: http://llvm.org/viewvc/llvm-project?rev=98389&view=rev
Log:
Fix build.
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=98389&r1=98388&r2=98389&view=diff
==============================================================================
--- vmkit/trunk/lib/Mvm/Compiler/JIT.cpp (original)
+++ vmkit/trunk/lib/Mvm/Compiler/JIT.cpp Fri Mar 12 15:10:34 2010
@@ -329,6 +329,7 @@
module->setTargetTriple(MvmModule::globalModule->getTargetTriple());
LLVMContext& Context = module->getContext();
+#ifdef WITH_MMTK
if (MutatorThread::MMTkCollectorSize) {
// If we have found MMTk, read the gcmalloc function and set the address of
// global variables and functions used by gcmalloc.
@@ -356,6 +357,7 @@
}
}
}
+#endif
mvm::llvm_runtime::makeLLVMModuleContents(module);
More information about the vmkit-commits
mailing list