mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
this if can now be an assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113173 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
80db4e51d2
commit
44b0daad44
@ -1723,8 +1723,8 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
|
||||
<< "*ie = MnemonicRange.second;\n";
|
||||
OS << " it != ie; ++it) {\n";
|
||||
|
||||
OS << " // Instruction mneumonic must match.\n";
|
||||
OS << " if (Mnemonic != it->Mnemonic) continue;\n";
|
||||
OS << " // equal_range guarantees that instruction mneumonic matches.\n";
|
||||
OS << " assert(Mnemonic == it->Mnemonic);\n";
|
||||
|
||||
// Emit check that the subclasses match.
|
||||
for (unsigned i = 0; i != MaxNumOperands; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user