mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-10 02:29:32 +00:00
AsmMatcher: Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94261 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6aebc2f46
commit
1402f0b2ca
@ -465,6 +465,10 @@ struct InstructionInfo {
|
|||||||
if (Operands.size() != RHS.Operands.size())
|
if (Operands.size() != RHS.Operands.size())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// Otherwise, make sure the ordering of the two instructions is unambiguous
|
||||||
|
// by checking that either (a) a token or operand kind discriminates them,
|
||||||
|
// or (b) the ordering among equivalent kinds is consistent.
|
||||||
|
|
||||||
// Tokens and operand kinds are unambiguous (assuming a correct target
|
// Tokens and operand kinds are unambiguous (assuming a correct target
|
||||||
// specific parser).
|
// specific parser).
|
||||||
for (unsigned i = 0, e = Operands.size(); i != e; ++i)
|
for (unsigned i = 0, e = Operands.size(); i != e; ++i)
|
||||||
|
Loading…
Reference in New Issue
Block a user