[ms-inline asm] Make the error message more generic now that we support the
authorChad Rosier <mcrosier@apple.com>
Fri, 18 Jan 2013 00:50:59 +0000 (00:50 +0000)
committerChad Rosier <mcrosier@apple.com>
Fri, 18 Jan 2013 00:50:59 +0000 (00:50 +0000)
'SIZE' and 'LENGTH' operators.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172773 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/AsmParser/X86AsmParser.cpp

index 38665f07e1e6d11e9c0563c7d14c0fc596288ec0..dc15a115370a3707048bae085772caa6daf6e900 100644 (file)
@@ -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) {