Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index c7b85255b299739941e6642016906e756ffa527c..f24c9dbe2bff910d79b5d1c90186d0e9c34221a2 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -170,6 +170,35 @@ FieldAccess AccessBuilder::ForJSFunctionNextFunctionLink() { |
return access; |
} |
+// static |
+FieldAccess AccessBuilder::ForJSBoundFunctionBoundTargetFunction() { |
+ FieldAccess access = { |
+ kTaggedBase, JSBoundFunction::kBoundTargetFunctionOffset, |
+ Handle<Name>(), MaybeHandle<Map>(), |
+ Type::Callable(), MachineType::TaggedPointer(), |
+ kPointerWriteBarrier}; |
+ return access; |
+} |
+ |
+// static |
+FieldAccess AccessBuilder::ForJSBoundFunctionBoundThis() { |
+ FieldAccess access = {kTaggedBase, JSBoundFunction::kBoundThisOffset, |
+ Handle<Name>(), MaybeHandle<Map>(), |
+ Type::NonInternal(), MachineType::AnyTagged(), |
+ kFullWriteBarrier}; |
+ return access; |
+} |
+ |
+// static |
+FieldAccess AccessBuilder::ForJSBoundFunctionBoundArguments() { |
+ FieldAccess access = { |
+ kTaggedBase, JSBoundFunction::kBoundArgumentsOffset, |
+ Handle<Name>(), MaybeHandle<Map>(), |
+ Type::Internal(), MachineType::TaggedPointer(), |
+ kPointerWriteBarrier}; |
+ return access; |
+} |
+ |
// static |
FieldAccess AccessBuilder::ForJSGeneratorObjectContext() { |
FieldAccess access = {kTaggedBase, JSGeneratorObject::kContextOffset, |