8200288: [SPARC] "assert(!(is_cti(prev) && is_cti(insn))) failed: CTI-CTI not allowed"

Reviewed-by: neliasso, kvn
This commit is contained in:
Patric Hedlin 2018-05-30 16:10:21 +02:00
parent b67da0de17
commit 60b28c75c8

@ -783,7 +783,9 @@ class Assembler : public AbstractAssembler {
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();
}