170 */ |
170 */ |
171 private final static CompilationPhases COMPILE_UPTO_CACHED = new CompilationPhases( |
171 private final static CompilationPhases COMPILE_UPTO_CACHED = new CompilationPhases( |
172 "Common initial phases", |
172 "Common initial phases", |
173 CompilationPhase.CONSTANT_FOLDING_PHASE, |
173 CompilationPhase.CONSTANT_FOLDING_PHASE, |
174 CompilationPhase.LOWERING_PHASE, |
174 CompilationPhase.LOWERING_PHASE, |
175 CompilationPhase.TRANSFORM_BUILTINS_PHASE, |
175 CompilationPhase.APPLY_SPECIALIZATION_PHASE, |
176 CompilationPhase.SPLITTING_PHASE, |
176 CompilationPhase.SPLITTING_PHASE, |
177 CompilationPhase.PROGRAM_POINT_PHASE, |
177 CompilationPhase.PROGRAM_POINT_PHASE, |
178 CompilationPhase.SYMBOL_ASSIGNMENT_PHASE, |
178 CompilationPhase.SYMBOL_ASSIGNMENT_PHASE, |
179 CompilationPhase.SCOPE_DEPTH_COMPUTATION_PHASE, |
179 CompilationPhase.SCOPE_DEPTH_COMPUTATION_PHASE, |
180 CompilationPhase.CACHE_AST |
180 CompilationPhase.CACHE_AST_PHASE |
181 ); |
181 ); |
182 |
182 |
183 private final static CompilationPhases COMPILE_CACHED_UPTO_BYTECODE = new CompilationPhases( |
183 private final static CompilationPhases COMPILE_CACHED_UPTO_BYTECODE = new CompilationPhases( |
184 "After common phases, before bytecode generator", |
184 "After common phases, before bytecode generator", |
185 CompilationPhase.DECLARE_LOCAL_SYMBOLS_TO_COMPILER, |
185 CompilationPhase.DECLARE_LOCAL_SYMBOLS_PHASE, |
186 CompilationPhase.OPTIMISTIC_TYPE_ASSIGNMENT_PHASE, |
186 CompilationPhase.OPTIMISTIC_TYPE_ASSIGNMENT_PHASE, |
187 CompilationPhase.LOCAL_VARIABLE_TYPE_CALCULATION_PHASE |
187 CompilationPhase.LOCAL_VARIABLE_TYPE_CALCULATION_PHASE |
188 ); |
188 ); |
189 |
189 |
190 /** |
190 /** |