diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-08 19:16:05 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-08 19:16:05 +0000 |
| commit | ac3daf9b939a3061b7f5917944a9eafa77315369 (patch) | |
| tree | 027563ac4effae0761bbb0ea8592e3ee671a50bb | |
| parent | de024f83630b7c0fcb78882abf5c99982d14e6b6 (diff) | |
| download | external_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.cpp | 2 |
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) { |
