mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-02 09:33:59 +00:00
Consistently specify the assembly variant to MatchInstructionImpl.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164611 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c303463dcc
commit
a3c3e1f8e2
@ -1625,16 +1625,20 @@ MatchInstruction(SMLoc IDLoc, unsigned &Kind,
|
||||
unsigned Match1, Match2, Match3, Match4;
|
||||
unsigned tKind;
|
||||
|
||||
Match1 = MatchInstructionImpl(Operands, tKind, Inst, ErrorInfoIgnore);
|
||||
Match1 = MatchInstructionImpl(Operands, tKind, Inst, ErrorInfoIgnore,
|
||||
isParsingIntelSyntax());
|
||||
if (Match1 == Match_Success) Kind = tKind;
|
||||
Tmp[Base.size()] = Suffixes[1];
|
||||
Match2 = MatchInstructionImpl(Operands, tKind, Inst, ErrorInfoIgnore);
|
||||
Match2 = MatchInstructionImpl(Operands, tKind, Inst, ErrorInfoIgnore,
|
||||
isParsingIntelSyntax());
|
||||
if (Match2 == Match_Success) Kind = tKind;
|
||||
Tmp[Base.size()] = Suffixes[2];
|
||||
Match3 = MatchInstructionImpl(Operands, tKind, Inst, ErrorInfoIgnore);
|
||||
Match3 = MatchInstructionImpl(Operands, tKind, Inst, ErrorInfoIgnore,
|
||||
isParsingIntelSyntax());
|
||||
if (Match3 == Match_Success) Kind = tKind;
|
||||
Tmp[Base.size()] = Suffixes[3];
|
||||
Match4 = MatchInstructionImpl(Operands, tKind, Inst, ErrorInfoIgnore);
|
||||
Match4 = MatchInstructionImpl(Operands, tKind, Inst, ErrorInfoIgnore,
|
||||
isParsingIntelSyntax());
|
||||
if (Match4 == Match_Success) Kind = tKind;
|
||||
|
||||
// Restore the old token.
|
||||
|
Loading…
x
Reference in New Issue
Block a user