public class OptimizeUtils
extends java.lang.Object
| Constructor and Description |
|---|
OptimizeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static LetExpression[] |
optimizeLets(LetExpression[] lets)
Removes let expressions for variables that are simply assigned to
literals, because VariableExpression will inline those literals
and remove itself, so there's no need to evaluate the variable.
|
public static LetExpression[] optimizeLets(LetExpression[] lets)