mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Move ~Pass() from Pass.h into Pass.cpp
llvm-svn: 36498
This commit is contained in:
parent
0c27d56340
commit
e7e2cb2826
@ -88,7 +88,7 @@ class Pass {
|
||||
Pass(const Pass &); // DO NOT IMPLEMENT
|
||||
public:
|
||||
Pass() : Resolver(0), PassInfoCache(0) {}
|
||||
virtual ~Pass() { delete Resolver; } // Destructor is virtual so we can be subclassed
|
||||
virtual ~Pass();
|
||||
|
||||
/// getPassName - Return a nice clean name for a pass. This usually
|
||||
/// implemented in terms of the name that is registered by one of the
|
||||
|
@ -27,6 +27,11 @@ using namespace llvm;
|
||||
// Pass Implementation
|
||||
//
|
||||
|
||||
// Force out-of-line virtual method.
|
||||
Pass::~Pass() {
|
||||
delete Resolver;
|
||||
}
|
||||
|
||||
// Force out-of-line virtual method.
|
||||
ModulePass::~ModulePass() { }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user