projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert r252249 (and r252255, r252258), "[WinEH] Clone funclets with multiple parents"
[oota-llvm.git]
/
lib
/
AsmParser
/
LLParser.cpp
diff --git
a/lib/AsmParser/LLParser.cpp
b/lib/AsmParser/LLParser.cpp
index 7774a70f5f44c5e8059e3b4c71b5ebb96a239fa3..1c219ad6cd8ec22017695f1a074ae286b25f36c2 100644
(file)
--- a/
lib/AsmParser/LLParser.cpp
+++ b/
lib/AsmParser/LLParser.cpp
@@
-5322,8
+5322,7
@@
bool LLParser::ParseCleanupEndPad(Instruction *&Inst, PerFunctionState &PFS) {
if (Lex.getKind() == lltok::kw_caller) {
Lex.Lex();
} else {
- return Error(Lex.getLoc(),
- "'to' must be followed by 'caller' in catchendpad");
+ return true;
}
} else {
if (ParseTypeAndBasicBlock(UnwindBB, PFS)) {