summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/PassManager.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-07 01:04:15 +0000
committerDan Gohman <gohman@apple.com>2010-08-07 01:04:15 +0000
commit027ad43794f9fdc9eaeeee9e9bd01f1e150e448a (patch)
tree03d18dd09ab25637fd08520dad28c551e8a27b17 /llvm/lib/VMCore/PassManager.cpp
parent404c58847ecaed2ff522603191aeceb1e695b54c (diff)
downloadbcm5719-llvm-027ad43794f9fdc9eaeeee9e9bd01f1e150e448a.tar.gz
bcm5719-llvm-027ad43794f9fdc9eaeeee9e9bd01f1e150e448a.zip
Oops, check in this file too.
llvm-svn: 110496
Diffstat (limited to 'llvm/lib/VMCore/PassManager.cpp')
-rw-r--r--llvm/lib/VMCore/PassManager.cpp4
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());
OpenPOWER on IntegriCloud