equal
deleted
inserted
replaced
2889 BTB_END( is_Byte, bsize, "putfield_or_static:is_Byte"); |
2889 BTB_END( is_Byte, bsize, "putfield_or_static:is_Byte"); |
2890 |
2890 |
2891 // ztos |
2891 // ztos |
2892 BTB_BEGIN(is_Bool, bsize, "putfield_or_static:is_Bool"); |
2892 BTB_BEGIN(is_Bool, bsize, "putfield_or_static:is_Bool"); |
2893 __ pop(ztos); |
2893 __ pop(ztos); |
2894 if (do_rewrite) { |
2894 if (!is_static) { |
2895 pop_and_check_object(obj); |
2895 pop_and_check_object(obj); |
2896 } |
2896 } |
2897 __ z_nilf(Z_tos, 0x1); |
2897 __ z_nilf(Z_tos, 0x1); |
2898 __ z_stc(Z_tos, field); |
2898 __ z_stc(Z_tos, field); |
2899 if (!is_static) { |
2899 if (do_rewrite) { |
2900 patch_bytecode(Bytecodes::_fast_zputfield, bc, Z_ARG5, true, byte_no); |
2900 patch_bytecode(Bytecodes::_fast_zputfield, bc, Z_ARG5, true, byte_no); |
2901 } |
2901 } |
2902 __ z_bru(Done); |
2902 __ z_bru(Done); |
2903 BTB_END(is_Bool, bsize, "putfield_or_static:is_Bool"); |
2903 BTB_END(is_Bool, bsize, "putfield_or_static:is_Bool"); |
2904 |
2904 |