Migrate runtime locals to frame slots

This commit is contained in:
sergeych committed 2026-02-14 23:25:19 +03:00
1 parent 34678068ac
commit cd145f6a96
27 files changed
+1247 -398

No files matched your search

@@ -0,0 +1,12 @@
# Bytecode Frame-First Migration Plan (Completed)
Status: completed (archived for historical reference)
Original goals
- Migrate bytecode to frame-first locals with lazy scope reflection; avoid eager scope slot plans in compiled functions.
- Use FrameSlotRef for captures and only materialize Scope for Kotlin interop.
- Avoid PUSH_SCOPE/POP_SCOPE in bytecode for loops/functions unless dynamic name access or Kotlin reflection is requested.
Notes
- This plan is now considered done at the architectural level; see current work items in other notes.
- Scope slots are still present for interop in the current codebase; removal is tracked separately.