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

Introduce a hierarchy of EEType nodes #1213

Closed

Description

@MichalStrehovsky

I'm not sure if it's really worth pursuing, but right now, EETypeNode is used for emitting generic type definition EETypes, EETypes that are not constructed, and full EETypes.

We have another EEType node that generates a subset to describe GC statics.

It feels like we should introduce a class hierarchy between these to get rid of duplications and the various ifs in EETypeNode.

Activity

  1. jkotas commented on May 3, 2016

    @jkotas
    Member

    I do not think that hierarchy (e.g. where one EEType node inherits from a different EEType node) makes sense here. I think that

    • Sharing of GC desc encoding should be done via encoding helpers in separate class (e.g. helper that takes pointer map and produces the encoded blob, or something similar)
    • Having a different Node type for generic type definitions and other fake EETypes sounds reasonable
  2. MichalStrehovsky commented on May 4, 2016

    @MichalStrehovsky
    MemberAuthor

    OK, I'll use this workitem to track splitting out generic type definitions and unconstructed types into separate Nodes. Taking out the GCDesc encoder will be tracked by #1239.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions