diff options
author | Reid Kleckner <reid@kleckner.net> | 2015-02-14 00:21:02 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2015-02-14 00:21:02 +0000 |
commit | 2d5fb68ee0149129c29ac6a0bfe93814de5e317e (patch) | |
tree | 224963400c6e29d2f2ea951e9ef496678f256b93 /llvm/lib/CodeGen/SelectionDAG | |
parent | b3fc83c40344f5ec4b0c0a09478bb0d3048c59a6 (diff) | |
download | bcm5719-llvm-2d5fb68ee0149129c29ac6a0bfe93814de5e317e.tar.gz bcm5719-llvm-2d5fb68ee0149129c29ac6a0bfe93814de5e317e.zip |
Unify the two EH personality classification routines I wrote
We only need one.
llvm-svn: 229193
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 1855ab340be..5e867cf6aec 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -930,7 +930,7 @@ void SelectionDAGISel::PrepareEHLandingPad() { const LandingPadInst *LPadInst = LLVMBB->getLandingPadInst(); MF->getMMI().addPersonality( MBB, cast<Function>(LPadInst->getPersonalityFn()->stripPointerCasts())); - if (MF->getMMI().getPersonalityType() == EHPersonality::Win64SEH) { + if (MF->getMMI().getPersonalityType() == EHPersonality::MSVC_Win64SEH) { // Make virtual registers and a series of labels that fill in values for the // clauses. auto &RI = MF->getRegInfo(); |