commit | e70b7c3dfb0e740dc47540ca8d5b92d6d58551bf | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@gmail.com> | Thu Dec 01 07:50:12 2016 +0000 |
committer | Eric Christopher <echristo@gmail.com> | Thu Dec 01 07:50:12 2016 +0000 |
tree | b8adc0dd00ee9b06e5b7a4610ce7a9b02bc76071 | |
parent | d64ecf26e7efc471882283fcd7a907ee192c1358 [diff] [blame] |
Temporarily Revert "Move most EH from MachineModuleInfo to MachineFunction" This apprears to have broken the global isel bot: http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-globalisel_build/5174/console This reverts commit r288293. llvm-svn: 288322
diff --git a/llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp b/llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp index f082add..099c2fe 100644 --- a/llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp +++ b/llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
@@ -84,7 +84,7 @@ return; // Functions which call __builtin_unwind_init get all their registers saved. - bool CallsUnwindInit = MF.callsUnwindInit(); + bool CallsUnwindInit = MF.getMMI().callsUnwindInit(); const MachineRegisterInfo &MRI = MF.getRegInfo(); for (unsigned i = 0; CSRegs[i]; ++i) { unsigned Reg = CSRegs[i];