Skip to content

[mono] iOS - Size reduction: don't emit impossible generic function instantiations #54850

@imhameed

Description

@imhameed

Seen while investigating size differences between legacy Mono and netcore Mono when used for iOS.

Some generic functions take generic parameters that themselves have type parameters that have struct constraints, but we still generate T_REF (boxed, non-value-type, shared) instantiations for these functions.

(This should affect any target that uses FullAOT; this includes iOS/tvOS)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions