8211212: ARM: -Werror=switch build failure
Reviewed-by: shade
This commit is contained in:
parent
20f6faa030
commit
52780f275c
@ -870,8 +870,8 @@ void LIRGenerator::do_ArithmeticOp(ArithmeticOp* x) {
|
|||||||
case doubleTag: do_ArithmeticOp_FPU(x); return;
|
case doubleTag: do_ArithmeticOp_FPU(x); return;
|
||||||
case longTag: do_ArithmeticOp_Long(x); return;
|
case longTag: do_ArithmeticOp_Long(x); return;
|
||||||
case intTag: do_ArithmeticOp_Int(x); return;
|
case intTag: do_ArithmeticOp_Int(x); return;
|
||||||
|
default: ShouldNotReachHere(); return;
|
||||||
}
|
}
|
||||||
ShouldNotReachHere();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2996,6 +2996,7 @@ void TemplateTable::resolve_cache_and_index(int byte_no,
|
|||||||
switch (code) {
|
switch (code) {
|
||||||
case Bytecodes::_nofast_getfield: code = Bytecodes::_getfield; break;
|
case Bytecodes::_nofast_getfield: code = Bytecodes::_getfield; break;
|
||||||
case Bytecodes::_nofast_putfield: code = Bytecodes::_putfield; 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");
|
assert(byte_no == f1_byte || byte_no == f2_byte, "byte_no out of range");
|
||||||
|
Loading…
Reference in New Issue
Block a user