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/AsmPrinter/Win64Exception.cpp | |
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/AsmPrinter/Win64Exception.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp b/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp index ff12d5d3247..2b03877faec 100644 --- a/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp @@ -106,7 +106,7 @@ void Win64Exception::endFunction(const MachineFunction *) { // Emit the tables appropriate to the personality function in use. If we // don't recognize the personality, assume it uses an Itanium-style LSDA. EHPersonality Per = MMI->getPersonalityType(); - if (Per == EHPersonality::Win64SEH) + if (Per == EHPersonality::MSVC_Win64SEH) emitCSpecificHandlerTable(); else emitExceptionTable(); |