summaryrefslogtreecommitdiff
path: root/chapter04/appendix/dce.md
diff options
context:
space:
mode:
Diffstat (limited to 'chapter04/appendix/dce.md')
-rw-r--r--chapter04/appendix/dce.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter04/appendix/dce.md b/chapter04/appendix/dce.md
index 10ff6bf1..d8fb9adc 100644
--- a/chapter04/appendix/dce.md
+++ b/chapter04/appendix/dce.md
@@ -135,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());
...