diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-24 21:14:11 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-24 21:14:11 +0000 |
commit | 8a42633273e01ed867c69edd3039a3b122ee79b2 (patch) | |
tree | 57717c161b474f973c8d10d35783fea79317ed05 /lib | |
parent | b3ff49e923225d0f7242ef5ac554bdef34c1b216 (diff) | |
download | llvm-8a42633273e01ed867c69edd3039a3b122ee79b2.tar.gz llvm-8a42633273e01ed867c69edd3039a3b122ee79b2.tar.bz2 llvm-8a42633273e01ed867c69edd3039a3b122ee79b2.tar.xz |
Devirtualize Pass::getPassID, overriding it isn't useful and it gets called a lot.
While at it pull the trivial ctor in line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/Pass.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp index c90bfeda1c..fca9466bfd 100644 --- a/lib/VMCore/Pass.cpp +++ b/lib/VMCore/Pass.cpp @@ -25,8 +25,6 @@ using namespace llvm; // Pass Implementation // -Pass::Pass(PassKind K, char &pid) : Resolver(0), PassID(&pid), Kind(K) { } - // Force out-of-line virtual method. Pass::~Pass() { delete Resolver; |