aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-01-18 00:50:59 +0000
committerChad Rosier <mcrosier@apple.com>2013-01-18 00:50:59 +0000
commit3da67ca97383f8d305cc732019a51157f9fce290 (patch)
tree8e13709a2ba854322fc7d4c9acacab89210634da
parent1381b9b68cef50ee43dfa684203752c50747c7eb (diff)
[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
-rw-r--r--lib/Target/X86/AsmParser/X86AsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp
index 38665f07e1..dc15a11537 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) {