diff options
author | Shih-wei Liao <sliao@google.com> | 2012-04-24 11:59:46 -0700 |
---|---|---|
committer | Shih-wei Liao <sliao@google.com> | 2012-04-24 11:59:46 -0700 |
commit | 1ca0341a6363a93addac30f8265e989317e7ccc0 (patch) | |
tree | bfcd4bde737cc630181fa9892dd65655c6ec804d | |
parent | f767be5432ccac097334be48698e48621d730190 (diff) | |
download | mclinker-1ca0341a6363a93addac30f8265e989317e7ccc0.tar.gz |
Apply changes to migrate to LLVM-155090-20120419.
Due to API changes.
Change-Id: I2690f8b20f5aac9eef2481518ea906a2d467adbe
-rw-r--r-- | lib/CodeGen/LLVMTargetMachine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp index b6b26a4..13efa96 100644 --- a/lib/CodeGen/LLVMTargetMachine.cpp +++ b/lib/CodeGen/LLVMTargetMachine.cpp @@ -273,6 +273,7 @@ bool mcld::LLVMTargetMachine::addCompilerPasses(PassManagerBase &pPM, MCInstPrinter *InstPrinter = getTarget().get()->createMCInstPrinter(MAI.getAssemblerDialect(), MAI, + *(getTM().getInstrInfo()), Context->getRegisterInfo(), STI); MCCodeEmitter* MCE = 0; |