Skip to content

Commit

Permalink
Add an assert back (#68481)
Browse files Browse the repository at this point in the history
Under JitRepeatOpts we sometimes turn early-arg stores into GT_NOP
nodes.

Fix #68472
  • Loading branch information
jakobbotsch authored Apr 25, 2022
1 parent 3f4ac7f commit 08dcd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/jit/lower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6425,7 +6425,7 @@ void Lowering::CheckCallArg(GenTree* arg)
{
if (!arg->IsValue() && !arg->OperIsPutArgStk())
{
assert(arg->OperIsStore() || arg->OperIsCopyBlkOp());
assert(arg->OperIsStore() || arg->IsNothingNode() || arg->OperIsCopyBlkOp());
return;
}

Expand Down

0 comments on commit 08dcd6f

Please sign in to comment.