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 | 99a6cb92d173c142073416c81efe6d3daeb80b49 (patch) | |
tree | 6bb72e831f77e338e8be827a61363847b91723b5 /lib/Target/ARM/ARMISelLowering.cpp | |
parent | 13269335a55395f2914c81ddb2401524abb4fa5e (diff) |
disallow direct access to SDValue::ResNo, provide a getter instead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index c696832fda..c853a32125 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/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) { |