summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-04-19 17:37:05 +0000
committerChad Rosier <mcrosier@apple.com>2013-04-19 17:37:05 +0000
commitd38684366105789ce41fa1bca76d8d93de19bb07 (patch)
treecb802a4c620132dab328deb499de2a48638119ae
parent3031ac01311e474cb0c25fe3f6d2e86cac220485 (diff)
[ms-inline asm] Remove these asserts. C++ variables that use namespace
qualifiers don't necessarily begin with an identifier (e.g., ::foo::bar). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179867 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/AsmParser/X86AsmParser.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp
index 861604ce368..0543d8490ae 100644
--- a/lib/Target/X86/AsmParser/X86AsmParser.cpp
+++ b/lib/Target/X86/AsmParser/X86AsmParser.cpp
@@ -1498,7 +1498,6 @@ X86Operand *X86AsmParser::ParseIntelOffsetOfOperator() {
const AsmToken &Tok = Parser.getTok();
SMLoc OffsetOfLoc = Tok.getLoc();
Parser.Lex(); // Eat offset.
- assert (Tok.is(AsmToken::Identifier) && "Expected an identifier");
const MCExpr *Val;
SMLoc Start = Tok.getLoc(), End;
@@ -1537,7 +1536,6 @@ X86Operand *X86AsmParser::ParseIntelOperator(unsigned OpKind) {
const AsmToken &Tok = Parser.getTok();
SMLoc TypeLoc = Tok.getLoc();
Parser.Lex(); // Eat operator.
- assert (Tok.is(AsmToken::Identifier) && "Expected an identifier");
const MCExpr *Val;
AsmToken StartTok = Tok;