mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-15 20:06:46 +00:00
fix an embarassing typo that resulted in llvm-gcc bootstrap miscompare
because the sorting wasn't sorting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81592 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a82e4656b0
commit
6f8e4dbfc4
@ -883,7 +883,7 @@ void X86ATTAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) {
|
||||
|
||||
static int SortSymbolPair(const void *LHS, const void *RHS) {
|
||||
MCSymbol *LHSS = ((const std::pair<MCSymbol*, MCSymbol*>*)LHS)->first;
|
||||
MCSymbol *RHSS = ((const std::pair<MCSymbol*, MCSymbol*>*)LHS)->first;
|
||||
MCSymbol *RHSS = ((const std::pair<MCSymbol*, MCSymbol*>*)RHS)->first;
|
||||
return LHSS->getName().compare(RHSS->getName());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user