diff options
author | Devang Patel <dpatel@apple.com> | 2007-02-27 15:00:39 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-02-27 15:00:39 +0000 |
commit | 84da80d10b472332d079c58d21aa48b82e636274 (patch) | |
tree | fa88f3e3f2da0874e1924247085965689634944c /include/llvm/PassManagers.h | |
parent | 05c180b34763c2891a2bf467c48bcf2a96f7e660 (diff) | |
download | external_llvm-84da80d10b472332d079c58d21aa48b82e636274.zip external_llvm-84da80d10b472332d079c58d21aa48b82e636274.tar.gz external_llvm-84da80d10b472332d079c58d21aa48b82e636274.tar.bz2 |
Make getPassManagerType() const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/PassManagers.h')
-rw-r--r-- | include/llvm/PassManagers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h index bd3672f..2448dda 100644 --- a/include/llvm/PassManagers.h +++ b/include/llvm/PassManagers.h @@ -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; } }; |