Skip to content

Commit

Permalink
JIT: Fix GenTreeCall::Equals virtual kind comparison (#93813)
Browse files Browse the repository at this point in the history
These flags are actually part of GenTree::gtFlags, not
GenTree::gtCallMoreFlags.
  • Loading branch information
jakobbotsch authored Oct 21, 2023
1 parent c7fd55c commit 88d21cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/jit/gentree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2534,7 +2534,7 @@ bool GenTreeCall::Equals(GenTreeCall* c1, GenTreeCall* c2)
#endif

if ((c1->gtCallType == CT_USER_FUNC) &&
((c1->gtCallMoreFlags & GTF_CALL_VIRT_KIND_MASK) != (c2->gtCallMoreFlags & GTF_CALL_VIRT_KIND_MASK)))
((c1->gtFlags & GTF_CALL_VIRT_KIND_MASK) != (c2->gtFlags & GTF_CALL_VIRT_KIND_MASK)))
{
return false;
}
Expand Down

0 comments on commit 88d21cb

Please sign in to comment.