summaryrefslogtreecommitdiff
path: root/lib/AsmParser/LLParser.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-04-10 23:18:04 +0000
committerBill Wendling <isanbard@gmail.com>2011-04-10 23:18:04 +0000
commit5d7a5a4f53304869ae5b76771ab67213447b65a5 (patch)
tree7a3b9ece646fc6ee260ab1467a1e693d9128b5a1 /lib/AsmParser/LLParser.cpp
parentc6cf19731504e7f922d1409ac118c59f5ab8e3c2 (diff)
downloadllvm-5d7a5a4f53304869ae5b76771ab67213447b65a5.tar.gz
llvm-5d7a5a4f53304869ae5b76771ab67213447b65a5.tar.bz2
llvm-5d7a5a4f53304869ae5b76771ab67213447b65a5.tar.xz
Revert r129235 pending a vetting of the EH rewrite.
--- Reverse-merging r129235 into '.': D test/Feature/bb_attrs.ll U include/llvm/BasicBlock.h U include/llvm/Bitcode/LLVMBitCodes.h U lib/VMCore/AsmWriter.cpp U lib/VMCore/BasicBlock.cpp U lib/AsmParser/LLParser.cpp U lib/AsmParser/LLLexer.cpp U lib/AsmParser/LLToken.h U lib/Bitcode/Reader/BitcodeReader.cpp U lib/Bitcode/Writer/BitcodeWriter.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.cpp')
-rw-r--r--lib/AsmParser/LLParser.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp
index afd10a0826..0c3237a679 100644
--- a/lib/AsmParser/LLParser.cpp
+++ b/lib/AsmParser/LLParser.cpp
@@ -2918,11 +2918,6 @@ bool LLParser::ParseBasicBlock(PerFunctionState &PFS) {
BasicBlock *BB = PFS.DefineBB(Name, NameLoc);
if (BB == 0) return true;
- if (Lex.getKind() == lltok::kw_landingpad) {
- BB->setIsLandingPad();
- Lex.Lex();
- }
-
std::string NameStr;
// Parse the instructions in this block until we get a terminator.