[vmkit-commits] [vmkit] r83644 - /vmkit/branches/release_026/lib/Mvm/Compiler/JIT.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Fri Oct 9 07:13:06 PDT 2009
Author: geoffray
Date: Fri Oct 9 09:13:06 2009
New Revision: 83644
URL: http://llvm.org/viewvc/llvm-project?rev=83644&view=rev
Log:
IRReader does not exist in 2.6.
Modified:
vmkit/branches/release_026/lib/Mvm/Compiler/JIT.cpp
Modified: vmkit/branches/release_026/lib/Mvm/Compiler/JIT.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/branches/release_026/lib/Mvm/Compiler/JIT.cpp?rev=83644&r1=83643&r2=83644&view=diff
==============================================================================
--- vmkit/branches/release_026/lib/Mvm/Compiler/JIT.cpp (original)
+++ vmkit/branches/release_026/lib/Mvm/Compiler/JIT.cpp Fri Oct 9 09:13:06 2009
@@ -26,7 +26,6 @@
#include <llvm/ExecutionEngine/ExecutionEngine.h>
#include "llvm/Support/CommandLine.h"
#include <llvm/Support/Debug.h>
-#include <llvm/Support/IRReader.h>
#include <llvm/Support/MutexGuard.h>
#include "llvm/Support/SourceMgr.h"
#include <llvm/Target/TargetData.h>
@@ -62,7 +61,7 @@
void MvmModule::loadBytecodeFile(const std::string& str) {
SMDiagnostic Err;
- Module* M = ParseIRFile(str, Err, getGlobalContext());
+ Module* M = ParseAssemblyFile(str, Err, getGlobalContext());
if (M) {
M->setTargetTriple(getHostTriple());
Linker::LinkModules(globalModule, M, 0);
More information about the vmkit-commits
mailing list