author | phedlin |
Wed, 30 May 2018 16:10:21 +0200 | |
changeset 50306 | ed7605e8675f |
parent 50305 | 02934b0d661b |
child 50307 | ba1b490901d4 |
--- a/src/hotspot/cpu/sparc/assembler_sparc.hpp Wed May 30 14:46:28 2018 +0200 +++ b/src/hotspot/cpu/sparc/assembler_sparc.hpp Wed May 30 16:10:21 2018 +0200 @@ -783,8 +783,10 @@ void flush() { #ifdef VALIDATE_PIPELINE assert(_delay_state == NoDelay, "Ending code with a delay-slot."); +#ifdef COMPILER2 validate_no_pipeline_hazards(); #endif +#endif AbstractAssembler::flush(); }