diff options
author | Pedro Artigas <partigas@apple.com> | 2012-12-03 21:56:57 +0000 |
---|---|---|
committer | Pedro Artigas <partigas@apple.com> | 2012-12-03 21:56:57 +0000 |
commit | e4348b0412be4d65074ff3583a9de5587ef0c5f8 (patch) | |
tree | 83f3839047dc6cbb0b6c6e77b41304c4176525de /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 8c114534ffb67f7bf80199f0ea39a075f7e86a12 (diff) | |
download | bcm5719-llvm-e4348b0412be4d65074ff3583a9de5587ef0c5f8.tar.gz bcm5719-llvm-e4348b0412be4d65074ff3583a9de5587ef0c5f8.zip |
moves doInitialization and doFinalization to the Pass class and removes some unreachable code in MachineModuleInfo
reviewed by Evan Cheng <evan.cheng@apple.com>
llvm-svn: 169164
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineModuleInfo.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp index ddfd11b8e53..7cd8f61c45c 100644 --- a/llvm/lib/CodeGen/MachineModuleInfo.cpp +++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp @@ -281,21 +281,6 @@ MachineModuleInfo::~MachineModuleInfo() { AddrLabelSymbols = 0; } -/// doInitialization - Initialize the state for a new module. -/// -bool MachineModuleInfo::doInitialization() { - assert(AddrLabelSymbols == 0 && "Improperly initialized"); - return false; -} - -/// doFinalization - Tear down the state after completion of a module. -/// -bool MachineModuleInfo::doFinalization() { - delete AddrLabelSymbols; - AddrLabelSymbols = 0; - return false; -} - /// EndFunction - Discard function meta information. /// void MachineModuleInfo::EndFunction() { |