changeset 50890:ed7605e8675f

8200288: [SPARC] "assert(!(is_cti(prev) && is_cti(insn))) failed: CTI-CTI not allowed" Reviewed-by: neliasso, kvn
author phedlin
date Wed, 30 May 2018 16:10:21 +0200
parents 02934b0d661b
children ba1b490901d4
files src/hotspot/cpu/sparc/assembler_sparc.hpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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();
   }