From: Chad Rosier Date: Fri, 18 Jan 2013 00:50:59 +0000 (+0000) Subject: [ms-inline asm] Make the error message more generic now that we support the X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3da67ca97383f8d305cc732019a51157f9fce290;p=oota-llvm.git [ms-inline asm] Make the error message more generic now that we support the 'SIZE' and 'LENGTH' operators. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172773 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp index 38665f07e1e..dc15a115370 100644 --- a/lib/Target/X86/AsmParser/X86AsmParser.cpp +++ b/lib/Target/X86/AsmParser/X86AsmParser.cpp @@ -1180,7 +1180,7 @@ X86Operand *X86AsmParser::ParseIntelOperator(SMLoc Start, unsigned OpKind) { bool IsVarDecl; if (!SemaCallback->LookupInlineAsmIdentifier(Sym.getName(), NULL, Length, Size, Type, IsVarDecl)) - return ErrorOperand(Start, "Unable to lookup TYPE of expr!"); + return ErrorOperand(Start, "Unable to lookup expr!"); } unsigned CVal; switch(OpKind) {