Skip to content

JIT: try to ensure all enumerator methods are inlined for locally allocated enumerators #116266

Open
@AndyAyersMS

Description

@AndyAyersMS

If we can inline all the enumerator methods then we can stack allocate the enumerator.

See #111799 (comment) for one example.

  • for non-empty List<T> we may fail to inline MoveNextRare as it may not get called by instrumented methods.
  • for empty collections we may fail to inline get_Current as it never gets called 

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions