diff options
author | Dale Johannesen <dalej@apple.com> | 2009-02-07 19:59:05 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-02-07 19:59:05 +0000 |
commit | 2dbdb0ea777a13c6fa8e9fe708e728a84752c20a (patch) | |
tree | 27915fd87b7bb9ec3f8ec281c5bc259ea8825594 /lib/Target/CellSPU | |
parent | 10b01ea148e74e3e5866841ec56980c91671e15b (diff) | |
download | external_llvm-2dbdb0ea777a13c6fa8e9fe708e728a84752c20a.zip external_llvm-2dbdb0ea777a13c6fa8e9fe708e728a84752c20a.tar.gz external_llvm-2dbdb0ea777a13c6fa8e9fe708e728a84752c20a.tar.bz2 |
Use getDebugLoc forwarder instead of getNode()->getDebugLoc.
No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU')
-rw-r--r-- | lib/Target/CellSPU/SPUISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/CellSPU/SPUISelLowering.cpp b/lib/Target/CellSPU/SPUISelLowering.cpp index f8d60f5..3a8fb5d 100644 --- a/lib/Target/CellSPU/SPUISelLowering.cpp +++ b/lib/Target/CellSPU/SPUISelLowering.cpp @@ -114,7 +114,7 @@ namespace { std::pair<SDValue, SDValue> CallInfo = TLI.LowerCallTo(InChain, RetTy, isSigned, !isSigned, false, false, CallingConv::C, false, Callee, Args, DAG, - Op.getNode()->getDebugLoc()); + Op.getDebugLoc()); return CallInfo.first; } @@ -2488,7 +2488,7 @@ static SDValue LowerINT_TO_FP(SDValue Op, SelectionDAG &DAG, static SDValue LowerSETCC(SDValue Op, SelectionDAG &DAG, const TargetLowering &TLI) { CondCodeSDNode *CC = dyn_cast<CondCodeSDNode>(Op.getOperand(2)); - DebugLoc dl = Op.getNode()->getDebugLoc(); + DebugLoc dl = Op.getDebugLoc(); assert(CC != 0 && "LowerSETCC: CondCodeSDNode should not be null here!\n"); SDValue lhs = Op.getOperand(0); |