Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix GetIndirectionCellArgKind for delegates
These are actual invocations of the Invoke method so they have the
normal flags/entrypoints set, but we do not add indirection cells for
them.
  • Loading branch information
jakobbotsch committed Jun 9, 2022
commit 8fc46d3047ae2ba43b7a1c79f9ed02521d8fba10
2 changes: 1 addition & 1 deletion src/coreclr/jit/gentree.h
Original file line number Diff line number Diff line change
Expand Up @@ -5308,7 +5308,7 @@ struct GenTreeCall final : public GenTree

#if defined(TARGET_ARMARCH)
// For ARM architectures, we always use an indirection cell for R2R calls.
if (IsR2RRelativeIndir())
if (IsR2RRelativeIndir() && !IsDelegateInvoke())
{
return WellKnownArg::R2RIndirectionCell;
}
Expand Down