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:
c502ed6
)
Fix Windows build after r159281: s/iterator/const_iterator
author
Alexey Samsonov
<samsonov@google.com>
Thu, 28 Jun 2012 07:47:50 +0000
(07:47 +0000)
committer
Alexey Samsonov
<samsonov@google.com>
Thu, 28 Jun 2012 07:47:50 +0000
(07:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159334
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/DFAPacketizerEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/DFAPacketizerEmitter.cpp
b/utils/TableGen/DFAPacketizerEmitter.cpp
index d97297f63d19e6f50bd557835e4aad96b92b1e2e..8bfecead6d2ecd59f2d0e303fce2436d30eece86 100644
(file)
--- a/
utils/TableGen/DFAPacketizerEmitter.cpp
+++ b/
utils/TableGen/DFAPacketizerEmitter.cpp
@@
-262,7
+262,7
@@
void State::AddInsnClass(unsigned InsnClass,
// be added to the packet represented by this state.
//
bool State::canAddInsnClass(unsigned InsnClass) const {
- for (std::set<unsigned>::iterator SI = stateInfo.begin();
+ for (std::set<unsigned>::
const_
iterator SI = stateInfo.begin();
SI != stateInfo.end(); ++SI) {
if (~*SI & InsnClass)
return true;