| 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_ISOLATE_H_ | 5 #ifndef VM_ISOLATE_H_ |
| 6 #define VM_ISOLATE_H_ | 6 #define VM_ISOLATE_H_ |
| 7 | 7 |
| 8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
| 9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
| 10 #include "platform/thread.h" | 10 #include "platform/thread.h" |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 | 471 |
| 472 void ProfileInterrupt(); | 472 void ProfileInterrupt(); |
| 473 | 473 |
| 474 VMTagCounters* vm_tag_counters() { | 474 VMTagCounters* vm_tag_counters() { |
| 475 return &vm_tag_counters_; | 475 return &vm_tag_counters_; |
| 476 } | 476 } |
| 477 | 477 |
| 478 uword user_tag() const { | 478 uword user_tag() const { |
| 479 return user_tag_; | 479 return user_tag_; |
| 480 } | 480 } |
| 481 static intptr_t user_tag_offset() { |
| 482 return OFFSET_OF(Isolate, user_tag_); |
| 483 } |
| 484 static intptr_t current_tag_offset() { |
| 485 return OFFSET_OF(Isolate, current_tag_); |
| 486 } |
| 481 | 487 |
| 482 RawGrowableObjectArray* tag_table() const { return tag_table_; } | 488 RawGrowableObjectArray* tag_table() const { return tag_table_; } |
| 483 void set_tag_table(const GrowableObjectArray& value); | 489 void set_tag_table(const GrowableObjectArray& value); |
| 484 | 490 |
| 485 RawUserTag* current_tag() const { return current_tag_; } | 491 RawUserTag* current_tag() const { return current_tag_; } |
| 486 void set_current_tag(const UserTag& tag); | 492 void set_current_tag(const UserTag& tag); |
| 487 void clear_current_tag(); | 493 void clear_current_tag(); |
| 488 | 494 |
| 489 #if defined(DEBUG) | 495 #if defined(DEBUG) |
| 490 #define REUSABLE_HANDLE_SCOPE_ACCESSORS(object) \ | 496 #define REUSABLE_HANDLE_SCOPE_ACCESSORS(object) \ |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 char* script_url_; | 718 char* script_url_; |
| 713 char* library_url_; | 719 char* library_url_; |
| 714 char* class_name_; | 720 char* class_name_; |
| 715 char* function_name_; | 721 char* function_name_; |
| 716 char* exception_callback_name_; | 722 char* exception_callback_name_; |
| 717 }; | 723 }; |
| 718 | 724 |
| 719 } // namespace dart | 725 } // namespace dart |
| 720 | 726 |
| 721 #endif // VM_ISOLATE_H_ | 727 #endif // VM_ISOLATE_H_ |
| OLD | NEW |