projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve printing of dominator sets
[oota-llvm.git]
/
lib
/
VMCore
/
Pass.cpp
diff --git
a/lib/VMCore/Pass.cpp
b/lib/VMCore/Pass.cpp
index 89b719c0dd89c5c24ee0dcbf737d52857fb250a6..85c4dec5fe722876aba27eb79f1a533512f219e2 100644
(file)
--- a/
lib/VMCore/Pass.cpp
+++ b/
lib/VMCore/Pass.cpp
@@
-298,6
+298,15
@@
void Pass::dump() const {
print(std::cerr, 0);
}
print(std::cerr, 0);
}
+//===----------------------------------------------------------------------===//
+// ImmutablePass Implementation
+//
+void ImmutablePass::addToPassManager(PassManagerT<Module> *PM,
+ AnalysisUsage &AU) {
+ PM->addPass(this, AU);
+}
+
+
//===----------------------------------------------------------------------===//
// FunctionPass Implementation
//
//===----------------------------------------------------------------------===//
// FunctionPass Implementation
//