8239422: [TESTBUG] compiler/c1/TestPrintIRDuringConstruction.java failed when C1 is disabled

Skip test if C1 is not available.

Reviewed-by: thartmann, xliu
This commit is contained in:
Ao Qi 2020-02-19 12:09:25 +08:00
parent 976473690b
commit eef02376bd

@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -25,7 +25,7 @@
* @test
* @summary load/store elimination will print out instructions without bcis.
* @bug 8235383
* @requires vm.debug == true
* @requires vm.debug == true & vm.compiler1.enabled
* @run main/othervm -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xcomp -XX:+PrintIRDuringConstruction -XX:+Verbose compiler.c1.TestPrintIRDuringConstruction
*/