Lines Matching refs:bc

73   int get_index_u1(Bytecodes::Code bc) const {
74 assert_same_format_as(bc); assert_index_size(1, bc);
77 int get_index_u2(Bytecodes::Code bc, bool is_wide = false) const {
78 assert_same_format_as(bc, is_wide); assert_index_size(2, bc, is_wide);
80 if (can_use_native_byte_order(bc, is_wide))
84 int get_index_u1_cpcache(Bytecodes::Code bc) const {
85 assert_same_format_as(bc); assert_index_size(1, bc);
88 int get_index_u2_cpcache(Bytecodes::Code bc) const {
89 assert_same_format_as(bc); assert_index_size(2, bc); assert_native_index(bc);
92 int get_index_u4(Bytecodes::Code bc) const {
93 assert_same_format_as(bc); assert_index_size(4, bc);
94 assert(can_use_native_byte_order(bc), "");
97 bool has_index_u4(Bytecodes::Code bc) const {
98 return bc == Bytecodes::_invokedynamic;
101 int get_offset_s2(Bytecodes::Code bc) const {
102 assert_same_format_as(bc); assert_offset_size(2, bc);
105 int get_offset_s4(Bytecodes::Code bc) const {
106 assert_same_format_as(bc); assert_offset_size(4, bc);
110 int get_constant_u1(int offset, Bytecodes::Code bc) const {
111 assert_same_format_as(bc); assert_constant_size(1, offset, bc);
114 int get_constant_u2(int offset, Bytecodes::Code bc, bool is_wide = false) const {
115 assert_same_format_as(bc, is_wide); assert_constant_size(2, offset, bc, is_wide);
121 static void assert_index_size(int required_size, Bytecodes::Code bc, bool is_wide = false) NOT_DEBUG_RETURN;
122 static void assert_offset_size(int required_size, Bytecodes::Code bc, bool is_wide = false) NOT_DEBUG_RETURN;
123 static void assert_constant_size(int required_size, int where, Bytecodes::Code bc, bool is_wide = false) NOT_DEBUG_RETURN;
124 static void assert_native_index(Bytecodes::Code bc, bool is_wide = false) NOT_DEBUG_RETURN;
125 static bool can_use_native_byte_order(Bytecodes::Code bc, bool is_wide = false) {
126 return (!Endian::is_Java_byte_ordering_different() || Bytecodes::native_byte_order(bc /*, is_wide*/));