aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/llc/llc.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index da5f74f2aa..ff492aa591 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -10,7 +10,8 @@
#include "llvm/Transforms/Instrumentation/TraceValues.h"
#include "llvm/Transforms/LowerAllocations.h"
#include "llvm/Transforms/HoistPHIConstants.h"
-#include "llvm/Transforms/PrintModulePass.h"
+#include "llvm/Assembly/PrintModulePass.h"
+#include "llvm/Bytecode/WriteBytecodePass.h"
#include "llvm/Transforms/ConstantMerge.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Module.h"
@@ -144,7 +145,7 @@ int main(int argc, char **argv) {
return 1;
}
- Passes.push_back(new WriteModuleBytecode(os, true));
+ Passes.push_back(new WriteBytecodePass(os, true));
}
// Replace malloc and free instructions with library calls.