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

It broke many builders.

llvm-svn: 169462
This commit is contained in:
NAKAMURA Takumi
2012-12-06 02:00:13 +00:00
parent eab6cc98d7
commit d985d76040
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;
}