pr 31
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
# PR-06 — RC Hooks Documentation (No RC Yet)
|
||||
|
||||
### Goal
|
||||
|
||||
Prepare the VM for RC without implementing it yet.
|
||||
|
||||
### Required Changes
|
||||
|
||||
* Document which VM instructions are RC-sensitive:
|
||||
|
||||
* `LocalStore`
|
||||
* `GateStore`
|
||||
* stack pop / drop (if present)
|
||||
* frame end / `FrameSync` as safe points
|
||||
|
||||
* Document RC rules:
|
||||
|
||||
* retain on handle copy
|
||||
* release on overwrite/drop
|
||||
|
||||
### Tests
|
||||
|
||||
* Documentation test or unit assertion that the RC-sensitive list exists
|
||||
|
||||
---
|
||||
|
||||
## STOP POINT
|
||||
|
||||
After PR-06:
|
||||
|
||||
* `ir_core` and `ir_vm` are fully decoupled
|
||||
* Lowering is deterministic and placeholder-free
|
||||
* VM ISA v0 is defined and stable
|
||||
* VM runtime work may begin safely
|
||||
|
||||
**Any VM changes before this point must be rejected.**
|
||||
|
||||
Reference in New Issue
Block a user