diff options
author | Gabor Greif <ggreif@gmail.com> | 2008-08-26 22:36:50 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2008-08-26 22:36:50 +0000 |
commit | abfdf928d81d968a04f5b40c48e38f796c14d1b3 (patch) | |
tree | a0336e1f1d256e326af5f66735a640bea3d6573b /llvm/lib/Target/ARM/ARMISelLowering.cpp | |
parent | 655c1dc63d0cf94c522c9fc9357b2817a7fd4d0c (diff) | |
download | bcm5719-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/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index c696832fdaf..c853a32125e 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -646,7 +646,7 @@ SDValue ARMTargetLowering::LowerCALL(SDValue Op, SelectionDAG &DAG) { ResultVals.push_back(Chain); SDValue Res = DAG.getMergeValues(&ResultVals[0], ResultVals.size()); - return Res.getValue(Op.ResNo); + return Res.getValue(Op.getResNo()); } static SDValue LowerRET(SDValue Op, SelectionDAG &DAG) { |