diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-14 02:24:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-14 02:24:55 +0000 |
commit | 18589de9b1b8c157dea602653042e486128dd9e4 (patch) | |
tree | bab599e7ff270803ad7e7936f9ac3c91729281ab /lib/CodeGen/MachineModuleInfo.cpp | |
parent | b91306053d0aebd748bf854f05d93cd1939a1543 (diff) | |
download | external_llvm-18589de9b1b8c157dea602653042e486128dd9e4.zip external_llvm-18589de9b1b8c157dea602653042e486128dd9e4.tar.gz external_llvm-18589de9b1b8c157dea602653042e486128dd9e4.tar.bz2 |
eliminate InvalidateLabel and LabelIDList from MMI and replace
them with a counter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98462 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r-- | lib/CodeGen/MachineModuleInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp index 27c1387..42c6a7f 100644 --- a/lib/CodeGen/MachineModuleInfo.cpp +++ b/lib/CodeGen/MachineModuleInfo.cpp @@ -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); } |