mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
add another const
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78487 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c604953460
commit
d39bd3aa5c
@ -859,7 +859,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
|
|||||||
|
|
||||||
// Emit code to search the table.
|
// Emit code to search the table.
|
||||||
OS << " // Search the table.\n";
|
OS << " // Search the table.\n";
|
||||||
OS << " for (MatchEntry *it = MatchTable, "
|
OS << " for (const MatchEntry *it = MatchTable, "
|
||||||
<< "*ie = MatchTable + " << Info.Instructions.size()
|
<< "*ie = MatchTable + " << Info.Instructions.size()
|
||||||
<< "; it != ie; ++it) {\n";
|
<< "; it != ie; ++it) {\n";
|
||||||
for (unsigned i = 0; i != MaxNumOperands; ++i) {
|
for (unsigned i = 0; i != MaxNumOperands; ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user