eliminate InvalidateLabel and LabelIDList from MMI and replace

them with a counter.

llvm-svn: 98462
This commit is contained in:
Chris Lattner
2010-03-14 02:24:55 +00:00
parent ee95d4c61c
commit 07293da97e
5 changed files with 7 additions and 55 deletions

View File

@@ -41,8 +41,8 @@ MachineModuleInfoImpl::~MachineModuleInfoImpl() {}
MachineModuleInfo::MachineModuleInfo(const MCAsmInfo &MAI)
: ImmutablePass(&ID), Context(MAI),
ObjFileMMI(0), CurCallSite(0), CallsEHReturn(0), CallsUnwindInit(0),
DbgInfoAvailable(false) {
ObjFileMMI(0), NextLabelIDToReturn(1),
CurCallSite(0), CallsEHReturn(0), CallsUnwindInit(0), DbgInfoAvailable(false){
// Always emit some info, by default "no personality" info.
Personalities.push_back(NULL);
}