public class BoxNodeOptimizationPhase extends PostRunCanonicalizationPhase<CoreProviders>
boxedVal1 = box(primitiveVal) ... boxedVal2 = box(primitiveVal)which can be rewritten to (if the assignment to boxedVal1 dominates the assignment to boxedVal2)
boxedVal1 = box(primitiveVal) ... boxedVal2 = boxedVal1;
BasePhase.ApplyScope, BasePhase.BasePhaseStatistics, BasePhase.PhaseOptions, BasePhase.SharedGlobalPhaseStatecanonicalizer| Constructor and Description |
|---|
BoxNodeOptimizationPhase(CanonicalizerPhase canonicalizer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
run(StructuredGraph graph,
CoreProviders context) |
applyScopeapply, apply, codeSizeIncrease, contractorName, equals, getName, hashCode, shouldDumpAfterAtBasicLevel, shouldDumpBeforeAtBasicLevelclone, getClass, notify, notifyAll, toString, wait, wait, waitcheckContractpublic BoxNodeOptimizationPhase(CanonicalizerPhase canonicalizer)
protected void run(StructuredGraph graph, CoreProviders context)
run in class BasePhase<CoreProviders>