diff options
| author | Cliff Click <cliffc@acm.org> | 2026-10-07 10:14:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-07 10:14:20 -0700 |
| commit | 8a20d5238855de5479d84e7fd8e84561844e2dc4 (patch) | |
| tree | bbeab7de6ac8b556911d117989ab4bbc0324ecb5 /chapter04/appendix/dce.md | |
| parent | 81b654d76444d747fdf1d053760e507b50f26e18 (diff) | |
| parent | b2862f980f3d78012066ef1cc09d4ad58f886c0f (diff) | |
| download | Simple-8a20d5238855de5479d84e7fd8e84561844e2dc4.tar.gz Simple-8a20d5238855de5479d84e7fd8e84561844e2dc4.zip | |
Merge pull request #262 from com-junkawasaki/docs/japanese-chapters
docs: add Japanese translations for all chapters
Diffstat (limited to 'chapter04/appendix/dce.md')
| -rw-r--r-- | chapter04/appendix/dce.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chapter04/appendix/dce.md b/chapter04/appendix/dce.md index 1f9dfa7a..d8fb9adc 100644 --- a/chapter04/appendix/dce.md +++ b/chapter04/appendix/dce.md @@ -1,4 +1,6 @@ # Appendix + +English | [日本語](dce.ja.md) ## Dead Code Elimination(DCE) Dead Code Elimination is the process or removing nodes that are dead(unused). @@ -133,7 +135,7 @@ To fix this, we introduce an extra `deadCodeElim` call that is responsible for d public final Node peephole( ) { ... if (!(this instanceof ConstantNode) && type.isConstant()) - return new deadCodeElim(ConstantNode(type).peephole()); + return deadCodeElim(new ConstantNode(type).peephole()); ... |
