diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-07-10 07:01:03 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-07-10 07:01:03 +0000 |
commit | 11aeb90aaa40eefec46073ae06027fcee003875a (patch) | |
tree | 6ebab5d66903b2628b97224a2cda732f41931ce6 /llvm/lib/AsmParser/LLParser.cpp | |
parent | 1d3fe98d57be5bcaff529f80122f1389bad8d683 (diff) | |
download | bcm5719-llvm-11aeb90aaa40eefec46073ae06027fcee003875a.tar.gz bcm5719-llvm-11aeb90aaa40eefec46073ae06027fcee003875a.zip |
Address Joseph's review comments.
llvm-svn: 241890
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r-- | llvm/lib/AsmParser/LLParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp index 4e28410abdc..05373bf05d9 100644 --- a/llvm/lib/AsmParser/LLParser.cpp +++ b/llvm/lib/AsmParser/LLParser.cpp @@ -4994,7 +4994,7 @@ bool LLParser::ParseTerminateBlock(Instruction *&Inst, PerFunctionState &PFS) { BasicBlock *UnwindBB = nullptr; if (Lex.getKind() == lltok::kw_to) { Lex.Lex(); - if (ParseToken(lltok::kw_caller, "expected 'caller' in cleanupret")) + if (ParseToken(lltok::kw_caller, "expected 'caller' in terminateblock")) return true; } else { if (ParseTypeAndBasicBlock(UnwindBB, PFS)) { @@ -5022,7 +5022,7 @@ bool LLParser::ParseCleanupBlock(Instruction *&Inst, PerFunctionState &PFS) { /// ParseCatchEndBlock /// ::= 'catchendblock' unwind ('to' 'caller' | TypeAndValue) bool LLParser::ParseCatchEndBlock(Instruction *&Inst, PerFunctionState &PFS) { - if (ParseToken(lltok::kw_unwind, "expected 'unwind' in cleanupret")) + if (ParseToken(lltok::kw_unwind, "expected 'unwind' in catchendblock")) return true; BasicBlock *UnwindBB = nullptr; |