Skip to content

Commit 72ee330

Browse files
author
Sergey Andreenko
committed
Egor's request
1 parent cf1821d commit 72ee330

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/coreclr/src/jit/flowgraph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23773,7 +23773,7 @@ Statement* Compiler::fgInlinePrependStatements(InlineInfo* inlineInfo)
2377323773
GenTree* thisOp = impInlineFetchArg(0, inlArgInfo, lclVarInfo);
2377423774
if (fgAddrCouldBeNull(thisOp))
2377523775
{
23776-
nullcheck = gtNewNullCheck(impInlineFetchArg(0, inlArgInfo, lclVarInfo), block);
23776+
nullcheck = gtNewNullCheck(thisOp, block);
2377723777
// The NULL-check statement will be inserted to the statement list after those statements
2377823778
// that assign arguments to temps and before the actual body of the inlinee method.
2377923779
}

0 commit comments

Comments
 (0)