forked from OSchip/llvm-project
parent
b524dfd557
commit
28349abeab
|
@ -81,7 +81,7 @@ public:
|
|||
return FP;
|
||||
}
|
||||
|
||||
virtual PassManagerType getPassManagerType() {
|
||||
virtual PassManagerType getPassManagerType() const {
|
||||
return PMT_LoopPassManager;
|
||||
}
|
||||
|
||||
|
|
|
@ -250,7 +250,7 @@ public:
|
|||
return PassVector.size();
|
||||
}
|
||||
|
||||
virtual PassManagerType getPassManagerType() {
|
||||
virtual PassManagerType getPassManagerType() const {
|
||||
assert ( 0 && "Invalid use of getPassManagerType");
|
||||
return PMT_Unknown;
|
||||
}
|
||||
|
@ -322,7 +322,7 @@ public:
|
|||
return FP;
|
||||
}
|
||||
|
||||
virtual PassManagerType getPassManagerType() {
|
||||
virtual PassManagerType getPassManagerType() const {
|
||||
return PMT_FunctionPassManager;
|
||||
}
|
||||
};
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
return FP;
|
||||
}
|
||||
|
||||
virtual PassManagerType getPassManagerType() {
|
||||
virtual PassManagerType getPassManagerType() const {
|
||||
return PMT_CallGraphPassManager;
|
||||
}
|
||||
};
|
||||
|
|
|
@ -98,7 +98,7 @@ public:
|
|||
return BP;
|
||||
}
|
||||
|
||||
virtual PassManagerType getPassManagerType() {
|
||||
virtual PassManagerType getPassManagerType() const {
|
||||
return PMT_BasicBlockPassManager;
|
||||
}
|
||||
};
|
||||
|
@ -210,7 +210,9 @@ public:
|
|||
return MP;
|
||||
}
|
||||
|
||||
virtual PassManagerType getPassManagerType() { return PMT_ModulePassManager; }
|
||||
virtual PassManagerType getPassManagerType() const {
|
||||
return PMT_ModulePassManager;
|
||||
}
|
||||
};
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
Loading…
Reference in New Issue