git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148102
91177308-0d34-0410-b5e6-
96231b3b80d8
// Install a MachineModuleInfo class, which is an immutable pass that holds
// all the per-module stuff we're generating, including MCContext.
// 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.
PM.add(MMI);
OutContext = &MMI->getContext(); // Return the MCContext specifically by-ref.