Skip to content

Commit

Permalink
[CallSite] Fix build breakage after D78538
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Apr 21, 2020
1 parent 116c2da commit cca545c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
Expand Up @@ -441,7 +441,7 @@ DeadArgumentEliminationPass::SurveyUse(const Use *U, UseVector &MaybeLiveUses,
// The value is passed in through a vararg! Must be live.
return Live;

assert(CB->getArgument(ArgNo) == CB->getOperand(U->getOperandNo()) &&
assert(CB->getArgOperand(ArgNo) == CB->getOperand(U->getOperandNo()) &&
"Argument is not where we expected it");

// Value passed to a normal call. It's only live when the corresponding
Expand Down

0 comments on commit cca545c

Please sign in to comment.