Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index ebd2789151f147a578f4eb07b56d5634434edead..29deeb02baba273d749ad0a294da4603ead1790d 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -321,8 +321,15 @@ FieldAccess AccessBuilder::ForPropertyCellValue(Type* type) { |
// static |
-FieldAccess AccessBuilder::ForSharedFunctionInfoTypeFeedbackVector() { |
- FieldAccess access = {kTaggedBase, SharedFunctionInfo::kFeedbackVectorOffset, |
+FieldAccess AccessBuilder::ForJSFunctionLiterals() { |
+ FieldAccess access = {kTaggedBase, JSFunction::kLiteralsOffset, |
+ Handle<Name>(), Type::Any(), MachineType::AnyTagged()}; |
+ return access; |
+} |
+ |
+// static |
+FieldAccess AccessBuilder::ForLiteralsTypeFeedbackVector() { |
+ FieldAccess access = {kTaggedBase, LiteralsArray::kFeedbackVectorOffset, |
Handle<Name>(), Type::Any(), MachineType::AnyTagged()}; |
return access; |
} |