mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Remove intermediate variables.
The name of these variables was completely out of date with the information stored in them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234345 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bf9be6b7e2
commit
8a781bee00
@ -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
Block a user