summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-08-26 22:36:50 +0000
committerGabor Greif <ggreif@gmail.com>2008-08-26 22:36:50 +0000
commitabfdf928d81d968a04f5b40c48e38f796c14d1b3 (patch)
treea0336e1f1d256e326af5f66735a640bea3d6573b /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
parent655c1dc63d0cf94c522c9fc9357b2817a7fd4d0c (diff)
downloadbcm5719-llvm-abfdf928d81d968a04f5b40c48e38f796c14d1b3.tar.gz
bcm5719-llvm-abfdf928d81d968a04f5b40c48e38f796c14d1b3.zip
disallow direct access to SDValue::ResNo, provide a getter instead
llvm-svn: 55394
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
index be07f563f89..cd29cf15910 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
@@ -652,7 +652,7 @@ SUnit *ScheduleDAGRRList::CopyAndMoveSuccessors(SUnit *SU) {
}
for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i) {
const SDValue &Op = N->getOperand(i);
- MVT VT = Op.Val->getValueType(Op.ResNo);
+ MVT VT = Op.Val->getValueType(Op.getResNo());
if (VT == MVT::Flag)
return NULL;
}
OpenPOWER on IntegriCloud