summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.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
commit9c310711bb5b199c781af3c6b503c13be597d7af (patch)
tree989c917dd2bb45ca6246d0536b31cebd77e00e55 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent2175b6a7676c8458f6e5c72e0380a0dbcb18893c (diff)
downloadbcm5719-llvm-9c310711bb5b199c781af3c6b503c13be597d7af.tar.gz
bcm5719-llvm-9c310711bb5b199c781af3c6b503c13be597d7af.zip
Use getDebugLoc forwarder instead of getNode()->getDebugLoc.
No functional change. llvm-svn: 64026
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 8841c035523..c18fa9e4809 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -2910,7 +2910,7 @@ static SDValue getMemsetStringVal(MVT VT, DebugLoc dl, SelectionDAG &DAG,
static SDValue getMemBasePlusOffset(SDValue Base, unsigned Offset,
SelectionDAG &DAG) {
MVT VT = Base.getValueType();
- return DAG.getNode(ISD::ADD, Base.getNode()->getDebugLoc(),
+ return DAG.getNode(ISD::ADD, Base.getDebugLoc(),
VT, Base, DAG.getConstant(Offset, VT));
}
OpenPOWER on IntegriCloud