mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
The variable ValueSize is set to 1 on both code paths, and then
ignored! Remove it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107138 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5b96b26eb7
commit
6f74f69ff4
@ -684,12 +684,8 @@ void MCAssembler::Finish() {
|
||||
for (MCAssembler::iterator it = begin(), ie = end(); it != ie; ++it) {
|
||||
// Create dummy fragments to eliminate any empty sections, this simplifies
|
||||
// layout.
|
||||
if (it->getFragmentList().empty()) {
|
||||
unsigned ValueSize = 1;
|
||||
if (getBackend().isVirtualSection(it->getSection()))
|
||||
ValueSize = 1;
|
||||
if (it->getFragmentList().empty())
|
||||
new MCFillFragment(0, 1, 0, it);
|
||||
}
|
||||
|
||||
it->setOrdinal(SectionIndex++);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user