git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111192
91177308-0d34-0410-b5e6-
96231b3b80d8
Info.setPreservesAll();
}
Info.setPreservesAll();
}
- inline void addTopLevelPass(Pass *P) {
+ void addTopLevelPass(Pass *P) {
if (ImmutablePass *IP = P->getAsImmutablePass()) {
// P is a immutable pass and it will be managed by this
// top level manager. Set up analysis resolver to connect them.
if (ImmutablePass *IP = P->getAsImmutablePass()) {
// P is a immutable pass and it will be managed by this
// top level manager. Set up analysis resolver to connect them.
Info.setPreservesAll();
}
Info.setPreservesAll();
}
- inline void addTopLevelPass(Pass *P) {
+ void addTopLevelPass(Pass *P) {
if (ImmutablePass *IP = P->getAsImmutablePass()) {
// P is a immutable pass and it will be managed by this
// top level manager. Set up analysis resolver to connect them.
if (ImmutablePass *IP = P->getAsImmutablePass()) {
// P is a immutable pass and it will be managed by this
// top level manager. Set up analysis resolver to connect them.
PrintFunctionPass(const std::string &B, raw_ostream *o, bool DS)
: FunctionPass(ID), Banner(B), Out(o), DeleteStream(DS) {}
PrintFunctionPass(const std::string &B, raw_ostream *o, bool DS)
: FunctionPass(ID), Banner(B), Out(o), DeleteStream(DS) {}
- inline ~PrintFunctionPass() {
if (DeleteStream) delete Out;
}
if (DeleteStream) delete Out;
}