From 300d2a9c3672acacc8bdd8d5370a424651a00571 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Sun, 18 Oct 2026 22:09:58 -0700 Subject: Cleanup & backport The phase rework, made new phases explicit and add them to the CodeGen driver. Fix the flag-spilling on X86 and ARM. Fix the GCM conservative anti-deps and backport. --- chapter18/README.ja.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter18/README.ja.md') diff --git a/chapter18/README.ja.md b/chapter18/README.ja.md index 6c0396b4..ad078163 100644 --- a/chapter18/README.ja.md +++ b/chapter18/README.ja.md @@ -214,7 +214,7 @@ Add は残りますが、今度は `arg` を直接消費します。引数が `3 ```java CodeGen code = new CodeGen("val sq = { int x -> x*x; }; return sq(arg);"); -code.parse().opto().typeCheck().GCM().localSched(); +code.driver(CodeGen.Phase.LocalSched); ``` 大域的コード移動は、[第13章](../chapter13/README.ja.md)の処理を複数の関数に拡張します。関数本体を別々に保ち、共有される定数式には、それを使う各関数内に局所的なコピーを与え、呼び出しをまたぐメモリへの作用を尊重します。 -- cgit v1.2.3