summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-05-01 20:14:04 +0000
committerReid Kleckner <reid@kleckner.net>2015-05-01 20:14:04 +0000
commit2747d3d55a2a4c67c2126b42c4eb823ed456b2a4 (patch)
treef175df2251cd7dde883fddb098ff5c5354eee7e1 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parent4856fc61b4820992534be6a0040dfc4ab9c7b207 (diff)
downloadbcm5719-llvm-2747d3d55a2a4c67c2126b42c4eb823ed456b2a4.tar.gz
bcm5719-llvm-2747d3d55a2a4c67c2126b42c4eb823ed456b2a4.zip
Revert "[WinEH] Add an EH registration and state insertion pass for 32-bit x86"
This reverts commit r236339, it breaks the win32 clang-cl self-host. llvm-svn: 236340
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index f385ac3c3d5..d56a1808049 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -266,8 +266,6 @@ bool AsmPrinter::doInitialization(Module &M) {
case ExceptionHandling::WinEH:
switch (MAI->getWinEHEncodingType()) {
default: llvm_unreachable("unsupported unwinding information encoding");
- case WinEH::EncodingType::Invalid:
- break;
case WinEH::EncodingType::Itanium:
ES = new Win64Exception(this);
break;
OpenPOWER on IntegriCloud