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 | 49eb628c21b358380b76df82aa3dfe0baab4c6ec (patch) | |
tree | 29d69b3d5f7545a0dc7def41118e59b1dd28036b /lib/CodeGen/MachineModuleInfo.cpp | |
parent | f7e78487de159940e00e3fadaf6b2e023e2ad8fe (diff) | |
download | external_llvm-49eb628c21b358380b76df82aa3dfe0baab4c6ec.zip external_llvm-49eb628c21b358380b76df82aa3dfe0baab4c6ec.tar.gz external_llvm-49eb628c21b358380b76df82aa3dfe0baab4c6ec.tar.bz2 |
moves doInitialization and doFinalization to the Pass class and removes some unreachable code in MachineModuleInfo
reviewed by Evan Cheng <evan.cheng@apple.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r-- | lib/CodeGen/MachineModuleInfo.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp index ddfd11b..7cd8f61 100644 --- a/lib/CodeGen/MachineModuleInfo.cpp +++ b/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() { |