Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index 26beac6d9e8fc26b8cc140963d9a686f0b143bde..ac9cfa858b421bbb034c5c1831439c00c320139c 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -31,6 +31,13 @@ FieldAccess AccessBuilder::ForJSObjectElements() { |
// static |
+FieldAccess AccessBuilder::ForJSFunctionContext() { |
+ return {kTaggedBase, JSFunction::kContextOffset, Handle<Name>(), |
+ Type::Internal(), kMachAnyTagged}; |
+} |
+ |
+ |
+// static |
FieldAccess AccessBuilder::ForJSArrayBufferBackingStore() { |
return {kTaggedBase, JSArrayBuffer::kBackingStoreOffset, Handle<Name>(), |
Type::UntaggedPtr(), kMachPtr}; |