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); |