pr1.2
This commit is contained in:
@@ -1,37 +1,3 @@
|
||||
# PR-1.2 — Remove HIP/RC Trap Codes From ABI
|
||||
|
||||
### Briefing
|
||||
|
||||
The new architecture removes HIP/RC completely. Any ABI surface describing HIP traps or gate-related traps must be deleted.
|
||||
|
||||
### Target
|
||||
|
||||
* Delete HIP/RC trap codes from bytecode ABI.
|
||||
* Replace with a minimal, architecture-aligned trap/error taxonomy.
|
||||
|
||||
### Work items
|
||||
|
||||
* Remove HIP trap constants/enums (e.g., anything like `TRAP_INVALID_GATE`, `TRAP_DEAD_GATE`, and related HIP trap identifiers).
|
||||
* If there is a shared trap enum used by VM/tooling:
|
||||
|
||||
* Keep only traps that remain meaningful in the GC stack+heap model (e.g., OOB, illegal instruction, stack underflow), as specified.
|
||||
* Rename/restructure as needed to reflect the reset.
|
||||
* Update any match arms / formatting / disasm text that referenced HIP traps.
|
||||
* Update tests and fixtures accordingly.
|
||||
|
||||
### Acceptance checklist
|
||||
|
||||
* [ ] No HIP/gate trap identifiers remain in the codebase.
|
||||
* [ ] Bytecode crates compile.
|
||||
* [ ] Disassembler / printers compile and produce readable output for remaining traps.
|
||||
* [ ] `cargo test` passes.
|
||||
|
||||
### Tests
|
||||
|
||||
* Update/adjust any trap-related unit tests.
|
||||
|
||||
---
|
||||
|
||||
# PR-1.3 — Remove RC/HIP Opcodes From `opcode` and Decode/Encode Paths
|
||||
|
||||
### Briefing
|
||||
|
||||
Reference in New Issue
Block a user