From 11aeb90aaa40eefec46073ae06027fcee003875a Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Fri, 10 Jul 2015 07:01:03 +0000 Subject: Address Joseph's review comments. llvm-svn: 241890 --- llvm/lib/AsmParser/LLParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/AsmParser/LLParser.cpp') 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; -- cgit v1.2.3