private class FunctionRewriter.Reduction
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private Node |
newChild |
private Node |
oldChild |
private Node |
parent |
| Constructor and Description |
|---|
Reduction(Node parent,
Node oldChild,
Node newChild) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
apply()
Apply the reduction by replacing the old child with the new child.
|
(package private) int |
estimateSavings()
Estimate number of bytes saved by applying this reduction.
|