fix an embarassing typo that resulted in llvm-gcc bootstrap miscompare
because the sorting wasn't sorting. llvm-svn: 81592
This commit is contained in:
parent
4dc00d3781
commit
37a4e48529
|
@ -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