155 bool has_access_indexed() { return _has_access_indexed; }
156 bool should_install_code() { return _install_code && InstallMethods; }
157 LinearScan* allocator() { return _allocator; }
158
159 // Instruction ids
160 int get_next_id() { return _next_id++; }
161 int number_of_instructions() const { return _next_id; }
162
163 // BlockBegin ids
164 int get_next_block_id() { return _next_block_id++; }
165 int number_of_blocks() const { return _next_block_id; }
166
167 // setters
168 void set_has_exception_handlers(bool f) { _has_exception_handlers = f; }
169 void set_has_fpu_code(bool f) { _has_fpu_code = f; }
170 void set_has_unsafe_access(bool f) { _has_unsafe_access = f; }
171 void set_has_irreducible_loops(bool f) { _has_irreducible_loops = f; }
172 void set_would_profile(bool f) { _would_profile = f; }
173 void set_has_access_indexed(bool f) { _has_access_indexed = f; }
174 void set_has_monitors(bool f) { _has_monitors = f; }
175 // Add a set of exception handlers covering the given PC offset
176 void add_exception_handlers_for_pco(int pco, XHandlers* exception_handlers);
177 // Statistics gathering
178 void notice_inlined_method(ciMethod* method);
179
180 // JSR 292
181 bool has_method_handle_invokes() const { return _has_method_handle_invokes; }
182 void set_has_method_handle_invokes(bool z) { _has_method_handle_invokes = z; }
183
184 bool has_reserved_stack_access() const { return _has_reserved_stack_access; }
185 void set_has_reserved_stack_access(bool z) { _has_reserved_stack_access = z; }
186
187 DebugInformationRecorder* debug_info_recorder() const; // = _env->debug_info();
188 Dependencies* dependency_recorder() const; // = _env->dependencies()
189 ImplicitExceptionTable* implicit_exception_table() { return &_implicit_exception_table; }
190
191 Instruction* current_instruction() const { return _current_instruction; }
192 Instruction* set_current_instruction(Instruction* instr) {
193 Instruction* previous = _current_instruction;
194 _current_instruction = instr;
|
155 bool has_access_indexed() { return _has_access_indexed; }
156 bool should_install_code() { return _install_code && InstallMethods; }
157 LinearScan* allocator() { return _allocator; }
158
159 // Instruction ids
160 int get_next_id() { return _next_id++; }
161 int number_of_instructions() const { return _next_id; }
162
163 // BlockBegin ids
164 int get_next_block_id() { return _next_block_id++; }
165 int number_of_blocks() const { return _next_block_id; }
166
167 // setters
168 void set_has_exception_handlers(bool f) { _has_exception_handlers = f; }
169 void set_has_fpu_code(bool f) { _has_fpu_code = f; }
170 void set_has_unsafe_access(bool f) { _has_unsafe_access = f; }
171 void set_has_irreducible_loops(bool f) { _has_irreducible_loops = f; }
172 void set_would_profile(bool f) { _would_profile = f; }
173 void set_has_access_indexed(bool f) { _has_access_indexed = f; }
174 void set_has_monitors(bool f) { _has_monitors = f; }
175
176 // Add a set of exception handlers covering the given PC offset
177 void add_exception_handlers_for_pco(int pco, XHandlers* exception_handlers);
178 // Statistics gathering
179 void notice_inlined_method(ciMethod* method);
180
181 // JSR 292
182 bool has_method_handle_invokes() const { return _has_method_handle_invokes; }
183 void set_has_method_handle_invokes(bool z) { _has_method_handle_invokes = z; }
184
185 bool has_reserved_stack_access() const { return _has_reserved_stack_access; }
186 void set_has_reserved_stack_access(bool z) { _has_reserved_stack_access = z; }
187
188 DebugInformationRecorder* debug_info_recorder() const; // = _env->debug_info();
189 Dependencies* dependency_recorder() const; // = _env->dependencies()
190 ImplicitExceptionTable* implicit_exception_table() { return &_implicit_exception_table; }
191
192 Instruction* current_instruction() const { return _current_instruction; }
193 Instruction* set_current_instruction(Instruction* instr) {
194 Instruction* previous = _current_instruction;
195 _current_instruction = instr;
|