mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Make getNumContainedManagers and getNumContainedPasses const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51087 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
79fc2020ce
commit
5d9bac6d8d
@ -145,7 +145,7 @@ private:
|
||||
class PMTopLevelManager {
|
||||
public:
|
||||
|
||||
virtual unsigned getNumContainedManagers() {
|
||||
virtual unsigned getNumContainedManagers() const {
|
||||
return (unsigned)PassManagers.size();
|
||||
}
|
||||
|
||||
@ -305,7 +305,7 @@ public:
|
||||
void dumpAnalysisSetInfo(const char *Msg, Pass *P,
|
||||
const std::vector<AnalysisID> &Set) const;
|
||||
|
||||
virtual unsigned getNumContainedPasses() {
|
||||
virtual unsigned getNumContainedPasses() const {
|
||||
return (unsigned)PassVector.size();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user