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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 62bac665413887ceece43ceabe04c193a4785904..b6995524bc161dae21e922226614d7e5ab91b2c1 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -478,6 +478,12 @@ class Isolate : public BaseIsolate {
uword user_tag() const {
return user_tag_;
}
+ static intptr_t user_tag_offset() {
+ return OFFSET_OF(Isolate, user_tag_);
+ }
+ static intptr_t current_tag_offset() {
+ return OFFSET_OF(Isolate, current_tag_);
+ }
RawGrowableObjectArray* tag_table() const { return tag_table_; }
void set_tag_table(const GrowableObjectArray& value);
« 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