Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: runtime/vm/isolate.h

Issue 237063004: Intrinsify UserTag operations on all architectures (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 470
471 void ProfileInterrupt(); 471 void ProfileInterrupt();
472 472
473 VMTagCounters* vm_tag_counters() { 473 VMTagCounters* vm_tag_counters() {
474 return &vm_tag_counters_; 474 return &vm_tag_counters_;
475 } 475 }
476 476
477 uword user_tag() const { 477 uword user_tag() const {
478 return user_tag_; 478 return user_tag_;
479 } 479 }
480 static intptr_t user_tag_offset() {
481 return OFFSET_OF(Isolate, user_tag_);
482 }
483 static intptr_t current_tag_offset() {
484 return OFFSET_OF(Isolate, current_tag_);
485 }
480 486
481 RawGrowableObjectArray* tag_table() const { return tag_table_; } 487 RawGrowableObjectArray* tag_table() const { return tag_table_; }
482 void set_tag_table(const GrowableObjectArray& value); 488 void set_tag_table(const GrowableObjectArray& value);
483 489
484 RawUserTag* current_tag() const { return current_tag_; } 490 RawUserTag* current_tag() const { return current_tag_; }
485 void set_current_tag(const UserTag& tag); 491 void set_current_tag(const UserTag& tag);
486 void clear_current_tag(); 492 void clear_current_tag();
487 493
488 #if defined(DEBUG) 494 #if defined(DEBUG)
489 #define REUSABLE_HANDLE_SCOPE_ACCESSORS(object) \ 495 #define REUSABLE_HANDLE_SCOPE_ACCESSORS(object) \
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 char* script_url_; 717 char* script_url_;
712 char* library_url_; 718 char* library_url_;
713 char* class_name_; 719 char* class_name_;
714 char* function_name_; 720 char* function_name_;
715 char* exception_callback_name_; 721 char* exception_callback_name_;
716 }; 722 };
717 723
718 } // namespace dart 724 } // namespace dart
719 725
720 #endif // VM_ISOLATE_H_ 726 #endif // VM_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698