diff options
author | Dan Gohman <gohman@apple.com> | 2008-04-07 19:35:22 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-04-07 19:35:22 +0000 |
commit | 36b5c1338a03453ba1c110b120269ca972fb65a3 (patch) | |
tree | 26db3bd8a1e215895a5cb1f05949b6542906c909 /lib/CodeGen/SelectionDAG/ScheduleDAG.cpp | |
parent | cb76b12a3a625737b427f9df547f8cfacbaa843b (diff) |
Rename MemOperand to MachineMemOperand. This was suggested by
review feedback from Chris quite a while ago. No functionality
change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp index 00b5677879..2af394fa8a 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp @@ -369,7 +369,7 @@ unsigned ScheduleDAG::CountResults(SDNode *Node) { unsigned ScheduleDAG::CountOperands(SDNode *Node) { unsigned N = ComputeMemOperandsEnd(Node); while (N && isa<MemOperandSDNode>(Node->getOperand(N - 1).Val)) - --N; // Ignore MemOperand nodes + --N; // Ignore MEMOPERAND nodes return N; } @@ -656,7 +656,7 @@ void ScheduleDAG::AddOperand(MachineInstr *MI, SDOperand Op, } -void ScheduleDAG::AddMemOperand(MachineInstr *MI, const MemOperand &MO) { +void ScheduleDAG::AddMemOperand(MachineInstr *MI, const MachineMemOperand &MO) { MI->addMemOperand(MO); } |