mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
Convert the easy cases of GetTempSymbol to createTempSymbol.
In these cases no code was depending on GetTempSymbol finding an existing symbol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232478 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -96,7 +96,7 @@ void DwarfAccelTable::FinalizeTable(AsmPrinter *Asm, StringRef Prefix) {
|
||||
for (size_t i = 0, e = Data.size(); i < e; ++i) {
|
||||
uint32_t bucket = Data[i]->HashValue % Header.bucket_count;
|
||||
Buckets[bucket].push_back(Data[i]);
|
||||
Data[i]->Sym = Asm->GetTempSymbol(Prefix, i);
|
||||
Data[i]->Sym = Asm->createTempSymbol(Prefix, i);
|
||||
}
|
||||
|
||||
// Sort the contents of the buckets by hash value so that hash
|
||||
|
Reference in New Issue
Block a user