Lines Matching defs:need_fmt
61 int need_fmt = -1;
63 case 1: need_fmt = 0; break;
64 case 2: need_fmt = Bytecodes::_fmt_has_u2; break;
65 case 4: need_fmt = Bytecodes::_fmt_has_u4; break;
67 if (is_wide) need_fmt |= Bytecodes::_fmt_not_simple;
68 if (have_fmt != need_fmt) {
69 tty->print_cr("assert_index_size %d: bc=%d%s %d != %d", size, bc, (is_wide?"/wide":""), have_fmt, need_fmt);
70 assert(have_fmt == need_fmt, "assert_index_size");
76 int need_fmt = -1;
78 case 2: need_fmt = Bytecodes::_fmt_bo2; break;
79 case 4: need_fmt = Bytecodes::_fmt_bo4; break;
81 if (is_wide) need_fmt |= Bytecodes::_fmt_not_simple;
82 if (have_fmt != need_fmt) {
83 tty->print_cr("assert_offset_size %d: bc=%d%s %d != %d", size, bc, (is_wide?"/wide":""), have_fmt, need_fmt);
84 assert(have_fmt == need_fmt, "assert_offset_size");
92 int need_fmt = -1;
94 case 1: need_fmt = Bytecodes::_fmt_bc; break;
95 case 2: need_fmt = Bytecodes::_fmt_bc | Bytecodes::_fmt_has_u2; break;
97 if (is_wide) need_fmt |= Bytecodes::_fmt_not_simple;
99 if (have_fmt != need_fmt || where + size != length) {
100 tty->print_cr("assert_constant_size %d @%d: bc=%d%s %d != %d", size, where, bc, (is_wide?"/wide":""), have_fmt, need_fmt);
102 assert(have_fmt == need_fmt, "assert_constant_size");