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/CellSPU | |
parent | 13269335a55395f2914c81ddb2401524abb4fa5e (diff) | |
download | external_llvm-99a6cb92d173c142073416c81efe6d3daeb80b49.zip external_llvm-99a6cb92d173c142073416c81efe6d3daeb80b49.tar.gz external_llvm-99a6cb92d173c142073416c81efe6d3daeb80b49.tar.bz2 |
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/CellSPU')
-rw-r--r-- | lib/Target/CellSPU/SPUISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CellSPU/SPUISelLowering.cpp b/lib/Target/CellSPU/SPUISelLowering.cpp index 5f621ed..4baaded 100644 --- a/lib/Target/CellSPU/SPUISelLowering.cpp +++ b/lib/Target/CellSPU/SPUISelLowering.cpp @@ -1292,7 +1292,7 @@ LowerCALL(SDValue Op, SelectionDAG &DAG, const SPUSubtarget *ST) { // Otherwise, merge everything together with a MERGE_VALUES node. ResultVals[NumResults++] = Chain; SDValue Res = DAG.getMergeValues(ResultVals, NumResults); - return Res.getValue(Op.ResNo); + return Res.getValue(Op.getResNo()); } static SDValue |