Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index 1ec6ccf4b50227c61b7cb468ea9e894da6fbb5b0..a1e95a95b4cf561193e5ee6f1428177958fb707b 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -327,6 +327,27 @@ FieldAccess AccessBuilder::ForFixedArrayLength() { |
return access; |
} |
+// static |
+FieldAccess AccessBuilder::ForFixedTypedArrayBaseBasePointer() { |
+ FieldAccess access = {kTaggedBase, |
+ FixedTypedArrayBase::kBasePointerOffset, |
+ MaybeHandle<Name>(), |
+ Type::Tagged(), |
+ MachineType::AnyTagged(), |
+ kPointerWriteBarrier}; |
+ return access; |
+} |
+ |
+// static |
+FieldAccess AccessBuilder::ForFixedTypedArrayBaseExternalPointer() { |
+ FieldAccess access = {kTaggedBase, |
+ FixedTypedArrayBase::kExternalPointerOffset, |
+ MaybeHandle<Name>(), |
+ Type::UntaggedPointer(), |
+ MachineType::Pointer(), |
+ kNoWriteBarrier}; |
+ return access; |
+} |
// static |
FieldAccess AccessBuilder::ForDescriptorArrayEnumCache() { |