This commit is contained in:
bQUARKz 2026-02-18 16:05:44 +00:00
parent 79e55303bd
commit 39a9001f54
Signed by: bquarkz
SSH Key Fingerprint: SHA256:Z7dgqoglWwoK6j6u4QC87OveEq74WOhFN+gitsxtkf8

View File

@ -1,54 +1,3 @@
# PR-2.5 — Prepare Call Frame Structure for Closures and Coroutines
### Briefing
Before introducing closures and coroutines, the call frame structure must be neutral and future-proof, without HIP-specific fields.
### Target
* Simplify the call frame to a minimal, generic structure.
* Remove any HIP/borrow/gate-related fields.
### Work items
* Review the call frame struct.
* Remove fields tied to scope frames, borrow state, or gates.
* Ensure the frame contains only:
* Function identifier.
* Program counter.
* Base stack pointer.
* Locals or register area (if applicable).
* Keep the structure simple and extensible.
### Acceptance checklist
* [ ] Call frame struct has no HIP-related fields.
* [ ] VM call/return paths compile and work.
* [ ] `cargo test` passes.
### Tests
* Existing call-related tests must still pass.
### Junie instructions
**You MAY:**
* Remove unused fields from the frame.
* Refactor call/return code to match the new structure.
**You MUST NOT:**
* Introduce closure or coroutine logic yet.
* Redesign the call stack architecture.
**If unclear:**
* Ask before changing frame responsibilities.
---
# PR-2.6 — Remove Dead Runtime Modules and Symbols
### Briefing