From 99a6cb92d173c142073416c81efe6d3daeb80b49 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Tue, 26 Aug 2008 22:36:50 +0000 Subject: 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 --- lib/Target/CellSPU/SPUISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Target/CellSPU') 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 -- cgit v1.1