mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Remove dead code. ManagedCleanup is unused, and contained a serious bug in that
the provided cleanup function is never actually called. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113284 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
381f17ee7c
commit
2da497902a
@ -91,12 +91,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
template<void (*CleanupFn)(void*)>
|
||||
class ManagedCleanup : public ManagedStaticBase {
|
||||
public:
|
||||
void Register() { RegisterManagedStatic(0, CleanupFn); }
|
||||
};
|
||||
|
||||
/// llvm_shutdown - Deallocate and destroy all ManagedStatic variables.
|
||||
void llvm_shutdown();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user