X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FVMCore%2FPass.cpp;h=85c4dec5fe722876aba27eb79f1a533512f219e2;hb=70b4f3e05106761e99cc56919767155cad0e2d3a;hp=89b719c0dd89c5c24ee0dcbf737d52857fb250a6;hpb=f90a0e4bd7c99788d85655e9f52c63a3a58f7431;p=oota-llvm.git diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp index 89b719c0dd8..85c4dec5fe7 100644 --- a/lib/VMCore/Pass.cpp +++ b/lib/VMCore/Pass.cpp @@ -298,6 +298,15 @@ void Pass::dump() const { print(std::cerr, 0); } +//===----------------------------------------------------------------------===// +// ImmutablePass Implementation +// +void ImmutablePass::addToPassManager(PassManagerT *PM, + AnalysisUsage &AU) { + PM->addPass(this, AU); +} + + //===----------------------------------------------------------------------===// // FunctionPass Implementation //