mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-24 19:44:49 +00:00
[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
This commit is contained in:
parent
3031ac0131
commit
d386843661
@ -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…
x
Reference in New Issue
Block a user