From e26b5a81723c854162908e32c43ac49db64e8aa0 Mon Sep 17 00:00:00 2001 From: pjh456 <147148383@qq.com> Date: Thu, 17 Sep 2026 16:16:04 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=AD=A3=E5=AF=84=E5=AD=98?= =?UTF-8?q?=E5=99=A8=E5=8F=96=E8=89=B2=E5=90=8C=E6=BA=90=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E7=9A=84=E8=A1=A8=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/oxide_regalloc/src/graph.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxide_regalloc/src/graph.rs b/crates/oxide_regalloc/src/graph.rs index a8407d46..10a5897a 100644 --- a/crates/oxide_regalloc/src/graph.rs +++ b/crates/oxide_regalloc/src/graph.rs @@ -187,7 +187,7 @@ pub(super) fn build( // builtin use 前执行写入 → 覆写全局值。 // 恒等号 v 在 ≤253 且不落入参数 MOV 窗口时保持恒等;大函数晚引用 builtin 的槽号 // >253(或 ≥arg_window_base 与 MOV 桥冲突)时恒等号不可编码 → 改分配确定性自由色 - // R(与 spilled_builtin_bindings 取同一 AllocMap 分配结果:1..arg_window_base 中最小未占用)。 + // R(取色规则与 spilled_builtin_bindings 相同:1..arg_window_base 中最小未占用)。 let mut builtin_entries: Vec<(String, u32)> = f .builtin_reg_map .iter()