diff options
| author | Chad Rosier <mcrosier@apple.com> | 2013-01-18 00:50:59 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@apple.com> | 2013-01-18 00:50:59 +0000 |
| commit | 1e8f053bd151c911a363b32d2591dcf4539327e5 (patch) | |
| tree | bb189408032fd37325cc2e2bc0428753c004e751 | |
| parent | f75ba1969734e04c54b922389d482433c4fe8201 (diff) | |
| download | bcm5719-llvm-1e8f053bd151c911a363b32d2591dcf4539327e5.tar.gz bcm5719-llvm-1e8f053bd151c911a363b32d2591dcf4539327e5.zip | |
[ms-inline asm] Make the error message more generic now that we support the
'SIZE' and 'LENGTH' operators.
llvm-svn: 172773
| -rw-r--r-- | llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp index 38665f07e1e..dc15a115370 100644 --- a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp +++ b/llvm/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) { |

