Skip to content

Commit 807f6f7

Browse files
committed
8346847: [s390x] minimal build failure
Reviewed-by: stuefe
1 parent 6c59185 commit 807f6f7

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
@@ -308,6 +308,12 @@ void VM_Version::initialize() {
308308
if (FLAG_IS_DEFAULT(UseMontgomerySquareIntrinsic)) {
309309
FLAG_SET_DEFAULT(UseMontgomerySquareIntrinsic, true);
310310
}
311+
312+
// The OptoScheduling information is not maintained in s390.ad.
313+
if (OptoScheduling) {
314+
warning("OptoScheduling is not supported on this CPU.");
315+
FLAG_SET_DEFAULT(OptoScheduling, false);
316+
}
311317
#endif
312318
if (FLAG_IS_DEFAULT(UsePopCountInstruction)) {
313319
FLAG_SET_DEFAULT(UsePopCountInstruction, true);
@@ -323,12 +329,6 @@ void VM_Version::initialize() {
323329
if (FLAG_IS_DEFAULT(UseUnalignedAccesses)) {
324330
FLAG_SET_DEFAULT(UseUnalignedAccesses, true);
325331
}
326-
327-
// The OptoScheduling information is not maintained in s390.ad.
328-
if (OptoScheduling) {
329-
warning("OptoScheduling is not supported on this CPU.");
330-
FLAG_SET_DEFAULT(OptoScheduling, false);
331-
}
332332
}
333333

334334

0 commit comments

Comments
 (0)