Oops, check in this file too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110496 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-08-07 01:04:15 +00:00
parent 4bdeede8c7
commit 12376a8df6

View File

@ -1707,8 +1707,8 @@ void PMStack::push(PMDataManager *PM) {
}
// Dump content of the pass manager stack.
void PMStack::dump() {
for (std::deque<PMDataManager *>::iterator I = S.begin(),
void PMStack::dump() const {
for (std::vector<PMDataManager *>::const_iterator I = S.begin(),
E = S.end(); I != E; ++I)
printf("%s ", (*I)->getAsPass()->getPassName());