mirror of
https://abf.rosa.ru/djam/java-11-openjdk.git
synced 2025-02-23 13:32:53 +00:00
66 lines
2.2 KiB
Diff
66 lines
2.2 KiB
Diff
# HG changeset patch
|
|
# User aph
|
|
# Date 1537981860 -3600
|
|
# Node ID 8f0f7f2ae20bf68a114da6a6fdb09aa8a6c5d1de
|
|
# Parent ec4c3c287ca718e279be0d4c0956b375cea16afe
|
|
8211170: AArch64: Warnings in C1 and template interpreter
|
|
Reviewed-by: adinn
|
|
|
|
diff -r ec4c3c287ca7 -r 8f0f7f2ae20b src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp
|
|
--- a/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp Tue Sep 18 20:49:44 2018 +0200
|
|
+++ b/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp Wed Sep 26 18:11:00 2018 +0100
|
|
@@ -1709,6 +1709,7 @@
|
|
default: ShouldNotReachHere();
|
|
}
|
|
break;
|
|
+ default:
|
|
ShouldNotReachHere();
|
|
}
|
|
} else {
|
|
diff -r ec4c3c287ca7 -r 8f0f7f2ae20b src/hotspot/cpu/aarch64/c1_LIRGenerator_aarch64.cpp
|
|
--- a/src/hotspot/cpu/aarch64/c1_LIRGenerator_aarch64.cpp Tue Sep 18 20:49:44 2018 +0200
|
|
+++ b/src/hotspot/cpu/aarch64/c1_LIRGenerator_aarch64.cpp Wed Sep 26 18:11:00 2018 +0100
|
|
@@ -584,8 +584,8 @@
|
|
case doubleTag: do_ArithmeticOp_FPU(x); return;
|
|
case longTag: do_ArithmeticOp_Long(x); return;
|
|
case intTag: do_ArithmeticOp_Int(x); return;
|
|
+ default: ShouldNotReachHere(); return;
|
|
}
|
|
- ShouldNotReachHere();
|
|
}
|
|
|
|
// _ishl, _lshl, _ishr, _lshr, _iushr, _lushr
|
|
@@ -792,9 +792,13 @@
|
|
__ abs(value.result(), dst, LIR_OprFact::illegalOpr);
|
|
break;
|
|
}
|
|
+ default:
|
|
+ ShouldNotReachHere();
|
|
}
|
|
break;
|
|
}
|
|
+ default:
|
|
+ ShouldNotReachHere();
|
|
}
|
|
}
|
|
|
|
diff -r ec4c3c287ca7 -r 8f0f7f2ae20b src/hotspot/cpu/aarch64/templateTable_aarch64.cpp
|
|
--- a/src/hotspot/cpu/aarch64/templateTable_aarch64.cpp Tue Sep 18 20:49:44 2018 +0200
|
|
+++ b/src/hotspot/cpu/aarch64/templateTable_aarch64.cpp Wed Sep 26 18:11:00 2018 +0100
|
|
@@ -2329,6 +2329,7 @@
|
|
switch (code) {
|
|
case Bytecodes::_nofast_getfield: code = Bytecodes::_getfield; break;
|
|
case Bytecodes::_nofast_putfield: code = Bytecodes::_putfield; break;
|
|
+ default: break;
|
|
}
|
|
|
|
assert(byte_no == f1_byte || byte_no == f2_byte, "byte_no out of range");
|
|
@@ -2953,6 +2954,7 @@
|
|
case Bytecodes::_fast_dputfield: __ pop_d(); break;
|
|
case Bytecodes::_fast_fputfield: __ pop_f(); break;
|
|
case Bytecodes::_fast_lputfield: __ pop_l(r0); break;
|
|
+ default: break;
|
|
}
|
|
__ bind(L2);
|
|
}
|
|
|