Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Move ownership of type system entities to CompilerTypeSystemContext #3873

@MichalStrehovsky

Description

@MichalStrehovsky

Type system entities that produce code or EETypes need to be owned by the CompilerTypeSystemContext so that we can match/reconcile them between the scanning and code generation phases.

This includes

  • Reflection invoke stubs
  • Various interop types and methods

We currently e.g. can't do fixed slot assignments to virtual methods on interop's delegate wrappers. Similar problems will arise for e.g. reflection invoke stubs and their generic dictionary layout (once we start inlining generic dictionary lookups).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions