1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Undo spurious change made in r256965

llvm-svn: 257028
This commit is contained in:
David Majnemer 2016-01-07 04:31:35 +00:00
parent 7394c8d1af
commit fcf00a1796

View File

@ -271,8 +271,6 @@ void FunctionLoweringInfo::set(const Function &fn, MachineFunction &mf,
}
}
WinEHFuncInfo &EHInfo = *MF->getWinEHFuncInfo();
// Mark landing pad blocks.
SmallVector<const LandingPadInst *, 4> LPads;
for (BB = Fn->begin(); BB != EB; ++BB) {
@ -291,6 +289,7 @@ void FunctionLoweringInfo::set(const Function &fn, MachineFunction &mf,
return;
// Calculate state numbers if we haven't already.
WinEHFuncInfo &EHInfo = *MF->getWinEHFuncInfo();
if (Personality == EHPersonality::MSVC_CXX)
calculateWinCXXEHStateNumbers(&fn, EHInfo);
else if (isAsynchronousEHPersonality(Personality))