Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 461578ba85c875bc75dc2be10d7ce8164cc079be..a56f34e4f5acc65683f7690bde34fde12374298f 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -6102,6 +6102,13 @@ void JSArrayBuffer::set_should_be_freed(bool value) { |
set_flag(BooleanBit::set(flag(), kShouldBeFreed, value)); |
} |
+bool JSArrayBuffer::is_shared() { |
+ return BooleanBit::get(flag(), kShared); |
+} |
+ |
+void JSArrayBuffer::set_is_shared(bool value) { |
+ set_flag(BooleanBit::set(flag(), kShared, value)); |
+} |
ACCESSORS(JSArrayBuffer, weak_next, Object, kWeakNextOffset) |
ACCESSORS(JSArrayBuffer, weak_first_view, Object, kWeakFirstViewOffset) |