OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_DEOPT_INSTRUCTIONS_H_ | 5 #ifndef VM_DEOPT_INSTRUCTIONS_H_ |
6 #define VM_DEOPT_INSTRUCTIONS_H_ | 6 #define VM_DEOPT_INSTRUCTIONS_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
10 #include "vm/code_generator.h" | 10 #include "vm/code_generator.h" |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 bool source_frame_is_allocated_; | 217 bool source_frame_is_allocated_; |
218 intptr_t* source_frame_; | 218 intptr_t* source_frame_; |
219 intptr_t source_frame_size_; | 219 intptr_t source_frame_size_; |
220 intptr_t* cpu_registers_; | 220 intptr_t* cpu_registers_; |
221 fpu_register_t* fpu_registers_; | 221 fpu_register_t* fpu_registers_; |
222 intptr_t num_args_; | 222 intptr_t num_args_; |
223 ICData::DeoptReasonId deopt_reason_; | 223 ICData::DeoptReasonId deopt_reason_; |
224 uint32_t deopt_flags_; | 224 uint32_t deopt_flags_; |
225 intptr_t caller_fp_; | 225 intptr_t caller_fp_; |
226 Thread* thread_; | 226 Thread* thread_; |
227 TimelineEvent* timeline_event_; | 227 int64_t deopt_start_micros_; |
228 | 228 |
229 DeferredSlot* deferred_slots_; | 229 DeferredSlot* deferred_slots_; |
230 | 230 |
231 intptr_t deferred_objects_count_; | 231 intptr_t deferred_objects_count_; |
232 DeferredObject** deferred_objects_; | 232 DeferredObject** deferred_objects_; |
233 | 233 |
234 const bool is_lazy_deopt_; | 234 const bool is_lazy_deopt_; |
235 | 235 |
236 DISALLOW_COPY_AND_ASSIGN(DeoptContext); | 236 DISALLOW_COPY_AND_ASSIGN(DeoptContext); |
237 }; | 237 }; |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 class ReasonField : public BitField<ICData::DeoptReasonId, 0, 8> { }; | 540 class ReasonField : public BitField<ICData::DeoptReasonId, 0, 8> { }; |
541 class FlagsField : public BitField<uint32_t, 8, 8> { }; | 541 class FlagsField : public BitField<uint32_t, 8, 8> { }; |
542 | 542 |
543 private: | 543 private: |
544 static const intptr_t kEntrySize = 3; | 544 static const intptr_t kEntrySize = 3; |
545 }; | 545 }; |
546 | 546 |
547 } // namespace dart | 547 } // namespace dart |
548 | 548 |
549 #endif // VM_DEOPT_INSTRUCTIONS_H_ | 549 #endif // VM_DEOPT_INSTRUCTIONS_H_ |
OLD | NEW |