summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-08-18 19:07:12 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-08-18 19:07:12 +0000
commit0ad363eebc2d4246cf4bb7d6cf047cd8f8210bc4 (patch)
tree31b043ed528212e32ae8c0e79d3a585db1576e05 /llvm/lib/CodeGen/SelectionDAG
parent1378a5aec3f1f03ff02df671a700f4a41c4acc97 (diff)
downloadbcm5719-llvm-0ad363eebc2d4246cf4bb7d6cf047cd8f8210bc4.tar.gz
bcm5719-llvm-0ad363eebc2d4246cf4bb7d6cf047cd8f8210bc4.zip
[WinEH] Calculate state numbers for the new EH representation
State numbers are calculated by performing a walk from the innermost funclet to the outermost funclet. Rudimentary support for the new EH constructs has been added to the assembly printer, just enough to test the new machinery. Differential Revision: http://reviews.llvm.org/D12098 llvm-svn: 245331
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
index cc306cbf5ae..ec3dab55464 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
@@ -283,7 +283,7 @@ void FunctionLoweringInfo::set(const Function &fn, MachineFunction &mf,
Personality == EHPersonality::MSVC_X86SEH) {
for (const LandingPadInst *LP : LPads) {
MachineBasicBlock *LPadMBB = MBBMap[LP->getParent()];
- MMI.addWinEHState(LPadMBB, EHInfo.LandingPadStateMap[LP]);
+ MMI.addWinEHState(LPadMBB, EHInfo.EHPadStateMap[LP]);
}
}
}
OpenPOWER on IntegriCloud