Skip to content

Commit 98e6549

Browse files
committed
8346847: [s390x] minimal build failure
Backport-of: 807f6f7fb868240cba5ba117c7059216f69a53f9
1 parent f24dfe6 commit 98e6549

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/hotspot/cpu/s390/vm_version_s390.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,12 @@ void VM_Version::initialize() {
282282
if (FLAG_IS_DEFAULT(UseMontgomerySquareIntrinsic)) {
283283
FLAG_SET_DEFAULT(UseMontgomerySquareIntrinsic, true);
284284
}
285+
286+
// The OptoScheduling information is not maintained in s390.ad.
287+
if (OptoScheduling) {
288+
warning("OptoScheduling is not supported on this CPU.");
289+
FLAG_SET_DEFAULT(OptoScheduling, false);
290+
}
285291
#endif
286292
if (FLAG_IS_DEFAULT(UsePopCountInstruction)) {
287293
FLAG_SET_DEFAULT(UsePopCountInstruction, true);
@@ -302,12 +308,6 @@ void VM_Version::initialize() {
302308
if (FLAG_IS_DEFAULT(UseUnalignedAccesses)) {
303309
FLAG_SET_DEFAULT(UseUnalignedAccesses, true);
304310
}
305-
306-
// The OptoScheduling information is not maintained in s390.ad.
307-
if (OptoScheduling) {
308-
warning("OptoScheduling is not supported on this CPU.");
309-
FLAG_SET_DEFAULT(OptoScheduling, false);
310-
}
311311
}
312312

313313

0 commit comments

Comments
 (0)