summaryrefslogtreecommitdiff
path: root/chapter04/appendix/dce.ja.md
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-10-07 09:53:15 -0700
committerCliff Click <cliffc@acm.org>2026-10-07 09:53:15 -0700
commitb2862f980f3d78012066ef1cc09d4ad58f886c0f (patch)
treebbeab7de6ac8b556911d117989ab4bbc0324ecb5 /chapter04/appendix/dce.ja.md
parent863a6ed0ad723e06c76f392d4fb3a5f6bd22863c (diff)
downloadSimple-pr262-doc-followups.tar.gz
Simple-pr262-doc-followups.zip
Pick up japanese transaltionpr262-doc-followups
A bunch of minor README fixes, missing TOC, grammer cleanup
Diffstat (limited to 'chapter04/appendix/dce.ja.md')
-rw-r--r--chapter04/appendix/dce.ja.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/chapter04/appendix/dce.ja.md b/chapter04/appendix/dce.ja.md
index 4c461277..10a7ef57 100644
--- a/chapter04/appendix/dce.ja.md
+++ b/chapter04/appendix/dce.ja.md
@@ -152,7 +152,7 @@ return (2+1)+3;
public final Node peephole( ) {
...
if (!(this instanceof ConstantNode) && type.isConstant())
- return new deadCodeElim(ConstantNode(type).peephole());
+ return deadCodeElim(new ConstantNode(type).peephole());
...
@@ -165,8 +165,6 @@ public final Node peephole( ) {
}
```
-> 訳注: 上の原文コードの `return new deadCodeElim(ConstantNode(type).peephole());` は、そのままでは Java の構文として正しくありません。コードは原文どおり保持しています。章本文の対応するコードでは `return deadCodeElim(new ConstantNode(type).peephole());` となっています。
-
```java
// m is the new Node, self is the old.
// Return 'm', which may have zero uses but is alive nonetheless.