Skip to content

Commit

Permalink
Fix an accidentally flipped pair of arguments, NFCI
Browse files Browse the repository at this point in the history
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354019 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
jmorse committed Feb 14, 2019
1 parent 0c8bcbe commit a8b2424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a8b2424

Please sign in to comment.