aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc/SparcISelLowering.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-02-07 19:59:05 +0000
committerDale Johannesen <dalej@apple.com>2009-02-07 19:59:05 +0000
commit2dbdb0ea777a13c6fa8e9fe708e728a84752c20a (patch)
tree27915fd87b7bb9ec3f8ec281c5bc259ea8825594 /lib/Target/Sparc/SparcISelLowering.cpp
parent10b01ea148e74e3e5866841ec56980c91671e15b (diff)
downloadexternal_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/Sparc/SparcISelLowering.cpp')
-rw-r--r--lib/Target/Sparc/SparcISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcISelLowering.cpp b/lib/Target/Sparc/SparcISelLowering.cpp
index 17d3566..18e22dd 100644
--- a/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/lib/Target/Sparc/SparcISelLowering.cpp
@@ -838,7 +838,7 @@ static SDValue LowerVASTART(SDValue Op, SelectionDAG &DAG,
SparcTargetLowering &TLI) {
// vastart just stores the address of the VarArgsFrameIndex slot into the
// memory location argument.
- DebugLoc dl = Op.getNode()->getDebugLoc();
+ DebugLoc dl = Op.getDebugLoc();
SDValue Offset = DAG.getNode(ISD::ADD, dl, MVT::i32,
DAG.getRegister(SP::I6, MVT::i32),
DAG.getConstant(TLI.getVarArgsFrameOffset(),