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

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
« no previous file with comments | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698