1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

[CallSite] Fix build breakage after D78538

This commit is contained in:
Fangrui Song 2020-04-21 11:33:40 -07:00
parent 39ea45de0b
commit 47ac02d8c8

View File

@ -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