diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index a11c55dea3e..a04f3ed3de0 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -359,9 +359,9 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM,    // Install a MachineModuleInfo class, which is an immutable pass that holds    // all the per-module stuff we're generating, including MCContext. -  MachineModuleInfo *MMI = new MachineModuleInfo(*getMCAsmInfo(), -                                                 *getRegisterInfo(), -                                     &getTargetLowering()->getObjFileLowering()); +  MachineModuleInfo *MMI = +    new MachineModuleInfo(*getMCAsmInfo(), *getRegisterInfo(), +                          &getTargetLowering()->getObjFileLowering());    PM.add(MMI);    OutContext = &MMI->getContext(); // Return the MCContext specifically by-ref. | 

