bool is_nop() { return ubyte_at(0) == nop_instruction_code; }
jushort code_length(int index) { GUARANTEE(((index * 3) + 2) < length(), "local var table: code_length index out of range"); return is_compressed() ? ubyte_at((index * 3) + 2) : ushort_at((index * 3) + 2); }
jushort start_pc(int index) { GUARANTEE(((index * 3) + 1) < length(), "local var table: start_pc index out of range"); return is_compressed() ? ubyte_at((index * 3) + 1) : ushort_at((index * 3) + 1); }
jushort line_number(int index) { GUARANTEE(((index * 2) + 1) < length(), "line number table line_num index out of bounds"); return is_compressed() ? ubyte_at((index * 2) + 1) : short_at((index * 2) + 1); }
jushort pc(int index) { GUARANTEE((index * 2) < length(), "line number table pc index out of bounds"); return is_compressed() ? ubyte_at(index * 2) : ushort_at(index * 2); }
jushort slot(int index) { GUARANTEE((index * 3) < length(), "local var table: slot index out of range"); return is_compressed() ? ubyte_at(index * 3) : ushort_at(index * 3); }