Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index ddf80d13e093f4ec8852b81918d4c1dababedb82..df8cf5e15c44079878404082f7acbf87336b7f2c 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -82,6 +82,23 @@ FieldAccess AccessBuilder::ForJSArrayBufferBackingStore() { |
// static |
+FieldAccess AccessBuilder::ForJSArrayBufferBitField() { |
+ FieldAccess access = {kTaggedBase, JSArrayBuffer::kBitFieldOffset, |
+ MaybeHandle<Name>(), TypeCache::Get().kInt8, kMachInt8}; |
+ return access; |
+} |
+ |
+ |
+// static |
+FieldAccess AccessBuilder::ForJSArrayBufferViewBuffer() { |
+ FieldAccess access = {kTaggedBase, JSArrayBufferView::kBufferOffset, |
+ MaybeHandle<Name>(), Type::TaggedPointer(), |
+ kMachAnyTagged}; |
+ return access; |
+} |
+ |
+ |
+// static |
FieldAccess AccessBuilder::ForJSDateField(JSDate::FieldIndex index) { |
FieldAccess access = {kTaggedBase, |
JSDate::kValueOffset + index * kPointerSize, |