feat: 新增 oxide_regalloc crate,干涉图 + graph coloring + spill 拆分(D-09/D-10/D-11)

This commit is contained in:
2026-08-06 17:13:27 +08:00
parent 9d619cd9bb
commit 0b0d36fa85
8 changed files with 876 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
[package]
name = "oxide_regalloc"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "OxideJS - register allocation pass over IR (interference graph + graph coloring + spill splitting)"
[dependencies]
oxide_ir = { path = "../oxide_ir" }
oxide_liveness = { path = "../oxide_liveness" }
oxide_bytecode = { path = "../oxide_bytecode" }
[dev-dependencies]
oxide_parser = { path = "../oxide_parser" }
oxide_emit = { path = "../oxide_emit" }
oxide_vm = { path = "../oxide_vm" }
oxide_cfg = { path = "../oxide_cfg" }