mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-19 18:07:49 +00:00
8211170: AArch64: Warnings in C1 and template interpreter
Reviewed-by: adinn
This commit is contained in:
parent
03e4400864
commit
08828a5a4f
@ -1709,6 +1709,7 @@ void LIR_Assembler::arith_op(LIR_Code code, LIR_Opr left, LIR_Opr right, LIR_Opr
|
||||
default: ShouldNotReachHere();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
ShouldNotReachHere();
|
||||
}
|
||||
} else {
|
||||
|
||||
@ -584,8 +584,8 @@ void LIRGenerator::do_ArithmeticOp(ArithmeticOp* x) {
|
||||
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 @@ void LIRGenerator::do_MathIntrinsic(Intrinsic* x) {
|
||||
__ abs(value.result(), dst, LIR_OprFact::illegalOpr);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
ShouldNotReachHere();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
ShouldNotReachHere();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -2329,6 +2329,7 @@ void TemplateTable::resolve_cache_and_index(int byte_no,
|
||||
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 @@ void TemplateTable::jvmti_post_fast_field_mod()
|
||||
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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user