aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-08 19:16:05 +0000
committerChris Lattner <sabre@nondot.org>2009-08-08 19:16:05 +0000
commitac3daf9b939a3061b7f5917944a9eafa77315369 (patch)
tree027563ac4effae0761bbb0ea8592e3ee671a50bb
parentde024f83630b7c0fcb78882abf5c99982d14e6b6 (diff)
downloadexternal_llvm-ac3daf9b939a3061b7f5917944a9eafa77315369.zip
external_llvm-ac3daf9b939a3061b7f5917944a9eafa77315369.tar.gz
external_llvm-ac3daf9b939a3061b7f5917944a9eafa77315369.tar.bz2
add another const
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78487 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--utils/TableGen/AsmMatcherEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp
index 2eb5a4b..cd95920 100644
--- a/utils/TableGen/AsmMatcherEmitter.cpp
+++ b/utils/TableGen/AsmMatcherEmitter.cpp
@@ -859,7 +859,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
// 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) {