mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Change ScheduleDAG's DAG member from a reference to a pointer, to prepare
for the possibility of scheduling without a SelectionDAG being present. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59263 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -239,7 +239,7 @@ namespace llvm {
|
||||
|
||||
class ScheduleDAG {
|
||||
public:
|
||||
SelectionDAG &DAG; // DAG of the current basic block
|
||||
SelectionDAG *DAG; // DAG of the current basic block
|
||||
MachineBasicBlock *BB; // Current basic block
|
||||
const TargetMachine &TM; // Target processor
|
||||
const TargetInstrInfo *TII; // Target instruction information
|
||||
@@ -253,7 +253,7 @@ namespace llvm {
|
||||
std::vector<SUnit> SUnits; // The scheduling units.
|
||||
SmallSet<SDNode*, 16> CommuteSet; // Nodes that should be commuted.
|
||||
|
||||
ScheduleDAG(SelectionDAG &dag, MachineBasicBlock *bb,
|
||||
ScheduleDAG(SelectionDAG *dag, MachineBasicBlock *bb,
|
||||
const TargetMachine &tm);
|
||||
|
||||
virtual ~ScheduleDAG() {}
|
||||
|
Reference in New Issue
Block a user