[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.

llvm-svn: 172773

llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp

index 38665f0..dc15a11 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) {