Skip to content

Self-host: AOT link for new and user-defined functions (JIT __object__) #520

@PurHur

Description

@PurHur

Problem

Bootstrap Phase B lint passes for test/bootstrap-aot/minimal_class.php and nullable_types.php, but Phase C link fails:

  • minimal_class.php uses new Greeter() → JIT: Unsupported native type __object__
  • nullable_types.php uses user-defined greet() → compile/link not ready

These are excluded from aot_link_targets in bootstrap-lib.php until fixed.

Tasks

  • Register / enable __object__ JIT type (lib/JIT/Builtin/Type/Object_.php is currently commented out)
  • AOT link minimal_class.php and class_nullable_property.php
  • AOT link nullable_types.php (namespaced or plain user func)
  • Remove entries from bootstrapDefaultAotLinkTargets() link-pending list

Tracks #212 / #512.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions