diff options
| author | Dan Gohman <gohman@apple.com> | 2010-08-07 01:04:15 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-08-07 01:04:15 +0000 |
| commit | 027ad43794f9fdc9eaeeee9e9bd01f1e150e448a (patch) | |
| tree | 03d18dd09ab25637fd08520dad28c551e8a27b17 | |
| parent | 404c58847ecaed2ff522603191aeceb1e695b54c (diff) | |
| download | bcm5719-llvm-027ad43794f9fdc9eaeeee9e9bd01f1e150e448a.tar.gz bcm5719-llvm-027ad43794f9fdc9eaeeee9e9bd01f1e150e448a.zip | |
Oops, check in this file too.
llvm-svn: 110496
| -rw-r--r-- | llvm/lib/VMCore/PassManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/PassManager.cpp b/llvm/lib/VMCore/PassManager.cpp index ae10b4c200a..8f895c81bcc 100644 --- a/llvm/lib/VMCore/PassManager.cpp +++ b/llvm/lib/VMCore/PassManager.cpp @@ -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()); |

