Commit Graph

5 Commits

Author SHA1 Message Date
pjh123 6db19bb693 test: 各 Pass 模块补模块级单测,测试随实现拆分 2026-08-06 14:09:03 +08:00
pjh123 63cec1d448 fix: 无条件 JMP 后继位置切成块头,修复跳转边丢失
Pass 1 仅对条件跳转切 fallthrough 后继,无条件 JMP 与其后指令
融块导致块尾判定错、Jump 边丢失,DCE 可达性误删 break 出口块
(label 悬空报 'Label not found')。JMP 后继同样置块头。
2026-08-06 12:16:58 +08:00
pjh123 d4b64a2cc9 refactor: 拆分 build_cfg 四阶段为独立模块纯函数链 2026-08-06 01:10:56 +08:00
pjh123 4a7d96d7f2 test: 新增真实编译产物集成回归锚(parse→emit→build_cfg) 2026-08-06 00:49:07 +08:00
pjh123 acd8e54e59 feat: 新建 oxide_cfg crate(BB 划分 + CFG 构建 pass) 2026-08-06 00:45:48 +08:00