Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index 3ec3a86d27d7434ee24a5c56763adec67c12db31..419498e95a124d991ae2f8a74b49151b37c42db8 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; |
} |