forked from OSchip/llvm-project
[ms-inline asm] Remove these asserts. C++ variables that use namespace
qualifiers don't necessarily begin with an identifier (e.g., ::foo::bar). llvm-svn: 179867
This commit is contained in:
parent
99e5464499
commit
1e7514e3e2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue