Index: runtime/vm/isolate.h |
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
index e85d4da774393a7e695c297ce10c8d0668e37e79..d3733bb2fc577febf0b79121ea28656411e8c9a7 100644 |
--- a/runtime/vm/isolate.h |
+++ b/runtime/vm/isolate.h |
@@ -224,6 +224,9 @@ class Isolate : public BaseIsolate { |
ObjectStore* object_store() const { return object_store_; } |
void set_object_store(ObjectStore* value) { object_store_ = value; } |
+ static intptr_t object_store_offset() { |
+ return OFFSET_OF(Isolate, object_store_); |
+ } |
ApiState* api_state() const { return api_state_; } |
void set_api_state(ApiState* value) { api_state_ = value; } |