Lines Matching defs:bytecode

32 #include "interpreter/bytecode.hpp"
59 address _bc_start; // Start of current bytecode for table
60 address _was_wide; // Address past last wide bytecode
66 Bytecodes::Code _bc; // Current bytecode
67 Bytecodes::Code _raw_bc; // Current bytecode, raw form
81 Bytecode bytecode() const { return Bytecode(this, _bc_start); }
129 // Return current ByteCode and increment PC to next bytecode, skipping all
138 // Fetch Java bytecode
139 // All rewritten bytecodes maintain the size of original bytecode.
142 _pc += csize; // Bump PC past bytecode
157 return bytecode().get_index_u1(cur_bc_raw());
161 return bytecode().get_index_u1_cpcache(cur_bc_raw());
164 // Get a byte index following this bytecode.
165 // If prefixed with a wide bytecode, get a wide index.
173 // Get 2-byte index (byte swapping depending on which bytecode)
175 return bytecode().get_index_u2(cur_bc_raw(), is_wide);
180 return bytecode().get_index_u2_cpcache(cur_bc_raw());
185 return bytecode().get_index_u4(cur_bc_raw());
189 return bytecode().has_index_u4(cur_bc_raw());
196 int get_constant_u1() const { return bytecode().get_constant_u1(instruction_size()-1, cur_bc_raw()); }
197 int get_constant_u2(bool is_wide = false) const { return bytecode().get_constant_u2(instruction_size()-2, cur_bc_raw(), is_wide); }
200 // If prefixed with a wide bytecode, get a wide constant
205 return cur_bci() + bytecode().get_offset_s2(cur_bc_raw());
216 return cur_bci() + bytecode().get_offset_s4(cur_bc_raw());
236 // If this bytecode is a new, newarray, multianewarray, instanceof,
241 // If this bytecode is one of the ldc variants, get the referenced
248 // True if the klass-using bytecode points to an unresolved klass
254 // If this bytecode is one of get_field, get_static, put_field,
418 // Implementation for declarations in bytecode.hpp