diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-10-12 16:44:22 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-10-12 16:44:22 +0000 |
commit | 99c1d13e526c2979669d2b8ea0e22c311229f384 (patch) | |
tree | cdb2bdaf5f512d56c18ce68d1b7e2e6ac703a74a /llvm/lib/CodeGen/SelectionDAG | |
parent | a1566a414a5ec991d1d18b9b57971298ccb8699d (diff) | |
download | bcm5719-llvm-99c1d13e526c2979669d2b8ea0e22c311229f384.tar.gz bcm5719-llvm-99c1d13e526c2979669d2b8ea0e22c311229f384.zip |
[WinEH] Remove CatchObjRecoverIdx
CatchObjRecoverIdx was used for the old scheme, it is no longer
relevant.
llvm-svn: 250065
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp index b0d81030931..f33e7cb0dce 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp @@ -297,7 +297,7 @@ void FunctionLoweringInfo::set(const Function &fn, MachineFunction &mf, // Map all BB references in the WinEH data to MBBs. for (WinEHTryBlockMapEntry &TBME : EHInfo.TryBlockMap) { for (WinEHHandlerType &H : TBME.HandlerArray) { - if (H.CatchObjRecoverIdx == -2 && H.CatchObj.Alloca) { + if (H.CatchObj.Alloca) { assert(StaticAllocaMap.count(H.CatchObj.Alloca)); H.CatchObj.FrameIndex = StaticAllocaMap[H.CatchObj.Alloca]; } else { |