[llvm-commits] [llvm] r78487 - /llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
Chris Lattner
sabre at nondot.org
Sat Aug 8 12:16:05 PDT 2009
Author: lattner
Date: Sat Aug 8 14:16:05 2009
New Revision: 78487
URL: http://llvm.org/viewvc/llvm-project?rev=78487&view=rev
Log:
add another const
Modified:
llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
Modified: llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp?rev=78487&r1=78486&r2=78487&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp Sat Aug 8 14:16:05 2009
@@ -859,7 +859,7 @@
// Emit code to search the table.
OS << " // Search the table.\n";
- OS << " for (MatchEntry *it = MatchTable, "
+ OS << " for (const MatchEntry *it = MatchTable, "
<< "*ie = MatchTable + " << Info.Instructions.size()
<< "; it != ie; ++it) {\n";
for (unsigned i = 0; i != MaxNumOperands; ++i) {
More information about the llvm-commits
mailing list