projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c604953
)
add another const
author
Chris Lattner
<sabre@nondot.org>
Sat, 8 Aug 2009 19:16:05 +0000
(19:16 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 8 Aug 2009 19:16:05 +0000
(19:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78487
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/AsmMatcherEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/AsmMatcherEmitter.cpp
b/utils/TableGen/AsmMatcherEmitter.cpp
index 2eb5a4b27ba28c8678a91cce46f7512bcebef21c..cd95920702e8d6f560a1f6711e3d15e61d64ff96 100644
(file)
--- 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) {