[llvm-commits] [llvm] r159334 - /llvm/trunk/utils/TableGen/DFAPacketizerEmitter.cpp
Alexey Samsonov
samsonov at google.com
Thu Jun 28 00:47:51 PDT 2012
Author: samsonov
Date: Thu Jun 28 02:47:50 2012
New Revision: 159334
URL: http://llvm.org/viewvc/llvm-project?rev=159334&view=rev
Log:
Fix Windows build after r159281: s/iterator/const_iterator
Modified:
llvm/trunk/utils/TableGen/DFAPacketizerEmitter.cpp
Modified: llvm/trunk/utils/TableGen/DFAPacketizerEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/DFAPacketizerEmitter.cpp?rev=159334&r1=159333&r2=159334&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/DFAPacketizerEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/DFAPacketizerEmitter.cpp Thu Jun 28 02:47:50 2012
@@ -262,7 +262,7 @@
// 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;
More information about the llvm-commits
mailing list