aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen
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
commitd39bd3aa5c795e55c0e2c4a5c72dab58ce1a1576 (patch)
tree027563ac4effae0761bbb0ea8592e3ee671a50bb /utils/TableGen
parentc6049534605af5f13d1b5149488b0a9efd294582 (diff)
downloadexternal_llvm-d39bd3aa5c795e55c0e2c4a5c72dab58ce1a1576.zip
external_llvm-d39bd3aa5c795e55c0e2c4a5c72dab58ce1a1576.tar.gz
external_llvm-d39bd3aa5c795e55c0e2c4a5c72dab58ce1a1576.tar.bz2
add another const
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78487 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-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) {