mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Changes to build successfully with GCC 3.02
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -13,8 +13,9 @@
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Target/MachineRegInfo.h"
|
||||
#include <stack>
|
||||
#include <iostream>
|
||||
|
||||
typedef vector<unsigned int> ReservedColorListType;
|
||||
typedef std::vector<unsigned int> ReservedColorListType;
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -46,7 +47,7 @@ class RegClass
|
||||
|
||||
InterferenceGraph IG; // Interference graph - constructed by
|
||||
// buildInterferenceGraph
|
||||
stack <IGNode *> IGNodeStack; // the stack used for coloring
|
||||
std::stack<IGNode *> IGNodeStack; // the stack used for coloring
|
||||
|
||||
const ReservedColorListType *const ReservedColorList;
|
||||
//
|
||||
@@ -117,21 +118,14 @@ class RegClass
|
||||
|
||||
|
||||
inline void printIGNodeList() const {
|
||||
cerr << "IG Nodes for Register Class " << RegClassID << ":" << endl;
|
||||
std::cerr << "IG Nodes for Register Class " << RegClassID << ":" << "\n";
|
||||
IG.printIGNodeList();
|
||||
}
|
||||
|
||||
inline void printIG() {
|
||||
cerr << "IG for Register Class " << RegClassID << ":" << endl;
|
||||
std::cerr << "IG for Register Class " << RegClassID << ":" << "\n";
|
||||
IG.printIG();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user