mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Stabilize 'getDwarfRegNumFull' output to not depend on random memory
orders, part of PR2590 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55359 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -19,24 +19,6 @@
|
||||
#include <algorithm>
|
||||
using namespace llvm;
|
||||
|
||||
//
|
||||
// Record sort by name function.
|
||||
//
|
||||
struct LessRecord {
|
||||
bool operator()(const Record *Rec1, const Record *Rec2) const {
|
||||
return Rec1->getName() < Rec2->getName();
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// Record sort by field "Name" function.
|
||||
//
|
||||
struct LessRecordFieldName {
|
||||
bool operator()(const Record *Rec1, const Record *Rec2) const {
|
||||
return Rec1->getValueAsString("Name") < Rec2->getValueAsString("Name");
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// Enumeration - Emit the specified class as an enumeration.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user