Index: runtime/vm/raw_object.h |
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h |
index b9ff88d08042f3e5a67090d1f919ea5c29df3185..b3ed6c274ceabb3952a08b4de71eef604afe6502 100644 |
--- a/runtime/vm/raw_object.h |
+++ b/runtime/vm/raw_object.h |
@@ -1364,6 +1364,10 @@ class ExternalByteArrayData { |
return peer_; |
} |
+ static intptr_t data_offset() { |
+ return OFFSET_OF(ExternalByteArrayData<T>, data_); |
+ } |
+ |
private: |
T* data_; |
void* peer_; |