Class FinalFieldLoadOptimizer

java.lang.Object
org.qbicc.graph.DelegatingBasicBlockBuilder
org.qbicc.plugin.opt.FinalFieldLoadOptimizer
All Implemented Interfaces:
Locatable, ProgramLocatable, BasicBlockBuilder

public class FinalFieldLoadOptimizer extends DelegatingBasicBlockBuilder
This optimization is run during the ANALYZE phase and replaces loads of reallyFinal fields with their constant values using the build-time heap constructed by the interpreter during the ADD phase. It optimizes static field and instance fields on ObjectLiterals.