swift
6f316008 - IRGen/Runtime: Dynamic vtable initialization for generic and resilient classes

Commit
7 years ago
IRGen/Runtime: Dynamic vtable initialization for generic and resilient classes Instead of emitting the vtable statically, copy it from the superclass, and fill in method overrides, if any. For now this is only done for classes initialized by swift_initClassMetadata_UniversalStrategy(); I need to add a new entry point for classes with static field layout but a dynamic vtable.
Author
Committer
Parents
  • lib/IRGen
    • File
      GenMeta.cpp
  • stdlib/public/runtime
    • File
      Metadata.cpp
  • test/IRGen
    • File
      generic_types.swift
    • File
      generic_vtable.swift