nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Compiler.java
changeset 32692 8f60bd284bf4
parent 32530 20aa15248117
child 33533 43400f0f2b47
equal deleted inserted replaced
32550:6521875cb63e 32692:8f60bd284bf4
   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         /**