mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
stabilize more printing, this doesn't cause a problem
in the example attached to PR2590, but is a problem in general. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55361 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
943c0e6fba
commit
073ff02e0d
@ -114,10 +114,9 @@ bool isSubRegisterClass(const CodeGenRegisterClass &RC,
|
||||
}
|
||||
|
||||
static void addSuperReg(Record *R, Record *S,
|
||||
std::map<Record*, std::set<Record*>,
|
||||
LessRecord> &SubRegs,
|
||||
std::map<Record*, std::set<Record*> > &SuperRegs,
|
||||
std::map<Record*, std::set<Record*> > &Aliases) {
|
||||
std::map<Record*, std::set<Record*>, LessRecord> &SubRegs,
|
||||
std::map<Record*, std::set<Record*>, LessRecord> &SuperRegs,
|
||||
std::map<Record*, std::set<Record*>, LessRecord> &Aliases) {
|
||||
if (R == S) {
|
||||
cerr << "Error: recursive sub-register relationship between"
|
||||
<< " register " << getQualifiedName(R)
|
||||
@ -136,10 +135,9 @@ static void addSuperReg(Record *R, Record *S,
|
||||
}
|
||||
|
||||
static void addSubSuperReg(Record *R, Record *S,
|
||||
std::map<Record*, std::set<Record*>,
|
||||
LessRecord> &SubRegs,
|
||||
std::map<Record*, std::set<Record*> > &SuperRegs,
|
||||
std::map<Record*, std::set<Record*> > &Aliases) {
|
||||
std::map<Record*, std::set<Record*>, LessRecord> &SubRegs,
|
||||
std::map<Record*, std::set<Record*>, LessRecord> &SuperRegs,
|
||||
std::map<Record*, std::set<Record*>, LessRecord> &Aliases) {
|
||||
if (R == S) {
|
||||
cerr << "Error: recursive sub-register relationship between"
|
||||
<< " register " << getQualifiedName(R)
|
||||
@ -421,8 +419,8 @@ void RegisterInfoEmitter::run(std::ostream &OS) {
|
||||
|
||||
// Emit register sub-registers / super-registers, aliases...
|
||||
std::map<Record*, std::set<Record*>, LessRecord> RegisterSubRegs;
|
||||
std::map<Record*, std::set<Record*> > RegisterSuperRegs;
|
||||
std::map<Record*, std::set<Record*> > RegisterAliases;
|
||||
std::map<Record*, std::set<Record*>, LessRecord> RegisterSuperRegs;
|
||||
std::map<Record*, std::set<Record*>, LessRecord> RegisterAliases;
|
||||
std::map<Record*, std::vector<std::pair<int, Record*> > > SubRegVectors;
|
||||
typedef std::map<Record*, std::vector<int>, LessRecord> DwarfRegNumsMapTy;
|
||||
DwarfRegNumsMapTy DwarfRegNums;
|
||||
|
Loading…
x
Reference in New Issue
Block a user