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:
parent
7394c8d1af
commit
fcf00a1796
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user