OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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_THREAD_H_ | 5 #ifndef VM_THREAD_H_ |
6 #define VM_THREAD_H_ | 6 #define VM_THREAD_H_ |
7 | 7 |
8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
9 #include "vm/globals.h" | 9 #include "vm/globals.h" |
10 #include "vm/handles.h" | 10 #include "vm/handles.h" |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 Zone* zone_; | 407 Zone* zone_; |
408 ApiLocalScope* api_reusable_scope_; | 408 ApiLocalScope* api_reusable_scope_; |
409 ApiLocalScope* api_top_scope_; | 409 ApiLocalScope* api_top_scope_; |
410 uword top_exit_frame_info_; | 410 uword top_exit_frame_info_; |
411 StackResource* top_resource_; | 411 StackResource* top_resource_; |
412 LongJumpScope* long_jump_base_; | 412 LongJumpScope* long_jump_base_; |
413 StoreBufferBlock* store_buffer_block_; | 413 StoreBufferBlock* store_buffer_block_; |
414 int32_t no_callback_scope_depth_; | 414 int32_t no_callback_scope_depth_; |
415 #if defined(DEBUG) | 415 #if defined(DEBUG) |
416 HandleScope* top_handle_scope_; | 416 HandleScope* top_handle_scope_; |
417 intptr_t no_handle_scope_depth_; | 417 int32_t no_handle_scope_depth_; |
418 int32_t no_safepoint_scope_depth_; | 418 int32_t no_safepoint_scope_depth_; |
419 #endif | 419 #endif |
420 VMHandles reusable_handles_; | 420 VMHandles reusable_handles_; |
421 | 421 |
422 // Compiler state: | 422 // Compiler state: |
423 CHA* cha_; | 423 CHA* cha_; |
424 intptr_t deopt_id_; // Compilation specific counter. | 424 intptr_t deopt_id_; // Compilation specific counter. |
425 uword vm_tag_; | 425 uword vm_tag_; |
426 RawGrowableObjectArray* pending_functions_; | 426 RawGrowableObjectArray* pending_functions_; |
427 | 427 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 // Disable thread interrupts. | 498 // Disable thread interrupts. |
499 class DisableThreadInterruptsScope : public StackResource { | 499 class DisableThreadInterruptsScope : public StackResource { |
500 public: | 500 public: |
501 explicit DisableThreadInterruptsScope(Thread* thread); | 501 explicit DisableThreadInterruptsScope(Thread* thread); |
502 ~DisableThreadInterruptsScope(); | 502 ~DisableThreadInterruptsScope(); |
503 }; | 503 }; |
504 | 504 |
505 } // namespace dart | 505 } // namespace dart |
506 | 506 |
507 #endif // VM_THREAD_H_ | 507 #endif // VM_THREAD_H_ |
OLD | NEW |