Skip to content

JIT: clone expression lowering (object copy) #1223

Description

@PurHur

Summary

Lower clone $obj to real object copy semantics in JIT/AOT, not stub/null.

Context

  • See docs/unsupported-syntax.md and docs/capabilities-syntax.md.
  • North Star 2 self-host: #1056.

Acceptance criteria

  • Parser + CFG lowering for the construct
  • VM semantics with regression tests
  • LLVM JIT lowering (or explicit stub policy in SelfHostBuiltinPolicy)
  • Bootstrap fixture if required for self-host probe
  • Documentation updated

Related issues

#817 (closed P1 stub), #145 (constructors/destructors)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions