diff options
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()); ... |
