Revert r169456, "change MCContext to work on the doInitialization/doFinalization model"

It broke many builders.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169462 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi
2012-12-06 02:00:13 +00:00
parent c9758b1366
commit c7078924f0
3 changed files with 6 additions and 47 deletions

View File

@ -270,9 +270,6 @@ MachineModuleInfo::~MachineModuleInfo() {
}
bool MachineModuleInfo::doInitialization(Module &M) {
Context.doInitialization();
ObjFileMMI = 0;
CompactUnwindEncoding = 0;
CurCallSite = 0;
@ -294,8 +291,6 @@ bool MachineModuleInfo::doFinalization(Module &M) {
delete AddrLabelSymbols;
AddrLabelSymbols = 0;
Context.doFinalization();
return false;
}