Skip to content

Commit

Permalink
Don't create GT_COMMA dst for stores.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Andreenko committed Jan 6, 2020
1 parent 4a2d9a4 commit 17cec7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/coreclr/src/jit/importer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14562,7 +14562,8 @@ void Compiler::impImportBlockCode(BasicBlock* block)
}
if (helperNode != nullptr)
{
op1 = gtNewOperNode(GT_COMMA, op1->TypeGet(), helperNode, op1);
// Spill the init node.
impAppendTree(helperNode, (unsigned)CHECK_SPILL_ALL, impCurStmtOffs);
}
}

Expand Down

0 comments on commit 17cec7c

Please sign in to comment.