< prev index next >
src/hotspot/cpu/s390/templateTable_s390.cpp
Print this page
rev 51898 : 8211145: [ppc] [s390]: Build fails due to -Werror=switch (introduced with JDK-8211029)
Reviewed-by:
*** 2415,2424 ****
--- 2415,2426 ----
Bytecodes::Code code = bytecode();
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");
__ get_cache_and_index_and_bytecode_at_bcp(Rcache, cpe_offset, bytecode_in_cpcache, byte_no, 1, index_size);
*** 3211,3220 ****
--- 3213,3224 ----
__ pop_f(Z_ftos);
break;
case Bytecodes::_fast_lputfield:
__ pop_l(Z_tos);
break;
+ default:
+ break;
}
__ bind(exit);
BLOCK_COMMENT("} jvmti_post_fast_field_mod");
}
< prev index next >