Exemplo n.º 1
0
 bool is_nop()                        { return ubyte_at(0) == nop_instruction_code; }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
0
 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);
 }
Exemplo n.º 5
0
 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);
 }
Exemplo n.º 6
0
 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);
 }