Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index e974a0e3740c828b4635822b22d5b3e35b86ded5..3eab06c69ec608bd1901ddf868457c1ca86111ee 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5313,6 +5313,17 @@ void JSArrayBuffer::set_backing_store(void* value, WriteBarrierMode mode) { |
ACCESSORS(JSArrayBuffer, byte_length, Object, kByteLengthOffset) |
+ACCESSORS_TO_SMI(JSArrayBuffer, flag, kFlagOffset) |
+ |
+ |
+bool JSArrayBuffer::is_external() { |
+ return BooleanBit::get(flag(), kIsExternalBit); |
+} |
+ |
+ |
+void JSArrayBuffer::set_is_external(bool value) { |
+ set_flag(BooleanBit::set(flag(), kIsExternalBit, value)); |
+} |
ACCESSORS(JSTypedArray, buffer, Object, kBufferOffset) |
@@ -5320,7 +5331,6 @@ ACCESSORS(JSTypedArray, byte_offset, Object, kByteOffsetOffset) |
ACCESSORS(JSTypedArray, byte_length, Object, kByteLengthOffset) |
ACCESSORS(JSTypedArray, length, Object, kLengthOffset) |
- |
ACCESSORS(JSRegExp, data, Object, kDataOffset) |