Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index 76e8b0688e644f843c4d181c1daed944b826bd3a..677ce5af786ec403bb82b805a5c2b20a80e0d524 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -157,6 +157,16 @@ FieldAccess AccessBuilder::ForArgumentsLength() { |
// static |
+FieldAccess AccessBuilder::ForArgumentsCallee() { |
+ int offset = |
+ JSObject::kHeaderSize + Heap::kArgumentsCalleeIndex * kPointerSize; |
+ FieldAccess access = {kTaggedBase, offset, Handle<Name>(), Type::Any(), |
+ kMachAnyTagged}; |
+ return access; |
+} |
+ |
+ |
+// static |
FieldAccess AccessBuilder::ForFixedArraySlot(size_t index) { |
int offset = FixedArray::OffsetOfElementAt(static_cast<int>(index)); |
FieldAccess access = {kTaggedBase, offset, Handle<Name>(), Type::Any(), |