src/hotspot/share/opto/compile.cpp
changeset 57584 9d82a35b6ff7
parent 55583 82fae48799e4
parent 57582 a79a819a8218
child 58102 b2a4b22f8cf2
equal deleted inserted replaced
57570:d7304cf430f1 57584:9d82a35b6ff7
  2397     C->remove_range_check_casts(igvn);
  2397     C->remove_range_check_casts(igvn);
  2398     igvn.optimize();
  2398     igvn.optimize();
  2399   }
  2399   }
  2400 
  2400 
  2401 #ifdef ASSERT
  2401 #ifdef ASSERT
  2402   bs->verify_gc_barriers(this, BarrierSetC2::BeforeLateInsertion);
       
  2403 #endif
       
  2404 
       
  2405   bs->barrier_insertion_phase(C, igvn);
       
  2406   if (failing())  return;
       
  2407 
       
  2408 #ifdef ASSERT
       
  2409   bs->verify_gc_barriers(this, BarrierSetC2::BeforeMacroExpand);
  2402   bs->verify_gc_barriers(this, BarrierSetC2::BeforeMacroExpand);
  2410 #endif
  2403 #endif
  2411 
  2404 
  2412   {
  2405   {
  2413     TracePhase tp("macroExpand", &timers[_t_macroExpand]);
  2406     TracePhase tp("macroExpand", &timers[_t_macroExpand]);
  2416       assert(failing(), "must bail out w/ explicit message");
  2409       assert(failing(), "must bail out w/ explicit message");
  2417       return;
  2410       return;
  2418     }
  2411     }
  2419     print_method(PHASE_MACRO_EXPANSION, 2);
  2412     print_method(PHASE_MACRO_EXPANSION, 2);
  2420   }
  2413   }
       
  2414 
       
  2415 #ifdef ASSERT
       
  2416   bs->verify_gc_barriers(this, BarrierSetC2::BeforeLateInsertion);
       
  2417 #endif
       
  2418 
       
  2419   bs->barrier_insertion_phase(C, igvn);
       
  2420   if (failing())  return;
  2421 
  2421 
  2422   {
  2422   {
  2423     TracePhase tp("barrierExpand", &timers[_t_barrierExpand]);
  2423     TracePhase tp("barrierExpand", &timers[_t_barrierExpand]);
  2424     if (bs->expand_barriers(this, igvn)) {
  2424     if (bs->expand_barriers(this, igvn)) {
  2425       assert(failing(), "must bail out w/ explicit message");
  2425       assert(failing(), "must bail out w/ explicit message");