feat(cfg): 新建 oxide_cfg crate(BB 划分 + CFG 构建 pass)

This commit is contained in:
爱特每羊队
2026-08-06 00:45:48 +08:00
parent 91badd6af9
commit 1bd7a82e8f
4 changed files with 392 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
[package]
name = "oxide_cfg"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "OxideJS - basic block partition and CFG analysis pass over IR"
[dependencies]
oxide_ir = { path = "../oxide_ir" }
oxide_bytecode = { path = "../oxide_bytecode" }
[dev-dependencies]
oxide_parser = { path = "../oxide_parser" }
oxide_emit = { path = "../oxide_emit" }