moves doInitialization and doFinalization to the Pass class and removes some unreacha...
[oota-llvm.git] / lib / CodeGen / MachineModuleInfo.cpp
index ddfd11b8e5310ba5d2ab0a63dd5ee3ba23cd7689..7cd8f61c45c9122e28de8580f55e981669fca6c9 100644 (file)
@@ -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() {