forked from OSchip/llvm-project
Remove intermediate variables.
The name of these variables was completely out of date with the information stored in them. llvm-svn: 234345
This commit is contained in:
parent
a0c6cc41e2
commit
39e20aa9c2
|
@ -1680,17 +1680,11 @@ void ELFObjectWriter::WriteObject(MCAssembler &Asm,
|
|||
RevGroupMapTy RevGroupMap;
|
||||
SectionIndexMapTy SectionIndexMap;
|
||||
|
||||
unsigned NumUserSections = Asm.size();
|
||||
|
||||
CompressDebugSections(Asm, const_cast<MCAsmLayout &>(Layout));
|
||||
|
||||
const unsigned NumUserAndRelocSections = Asm.size();
|
||||
createIndexedSections(Asm, const_cast<MCAsmLayout &>(Layout), GroupMap,
|
||||
RevGroupMap, SectionIndexMap);
|
||||
const unsigned AllSections = Asm.size();
|
||||
const unsigned NumIndexedSections = AllSections - NumUserAndRelocSections;
|
||||
|
||||
unsigned NumRegularSections = NumUserSections + NumIndexedSections;
|
||||
unsigned NumRegularSections = Asm.size();
|
||||
|
||||
// Compute symbol table information.
|
||||
computeSymbolTable(Asm, Layout, SectionIndexMap, RevGroupMap);
|
||||
|
|
Loading…
Reference in New Issue