summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse.llvm@gmail.com>2019-02-14 11:09:24 +0000
committerJeremy Morse <jeremy.morse.llvm@gmail.com>2019-02-14 11:09:24 +0000
commit897a9f8d008cb8cb55e238d12806ed9244a6c937 (patch)
tree98757b8272d8a602b9ece2f232348e337b7904d1
parent743abf2bd920640dbb4cc7b900fe5d4fa25caafa (diff)
downloadbcm5719-llvm-897a9f8d008cb8cb55e238d12806ed9244a6c937.tar.gz
bcm5719-llvm-897a9f8d008cb8cb55e238d12806ed9244a6c937.zip
Fix an accidentally flipped pair of arguments, NFCI
While rebasing a refactor in r353950 I accidentally swapped two function arguments; one is SelectionDAGBuilders "current" DebugLoc, the other is the one from the "current" debug intrinsic. They're probably always identical, but I haven't proved that yet. llvm-svn: 354019
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index f5e3905bd3a..c6338383bbd 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -5661,7 +5661,7 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
if (!V)
return nullptr;
- if (handleDebugValue(V, Variable, Expression, DI.getDebugLoc(), dl,
+ if (handleDebugValue(V, Variable, Expression, dl, DI.getDebugLoc(),
SDNodeOrder))
return nullptr;
OpenPOWER on IntegriCloud