Index: src/compiler/access-builder.h |
diff --git a/src/compiler/access-builder.h b/src/compiler/access-builder.h |
index 8375d37600a55e61755667062c9e84e8cdc8eb60..2b46dc21b76ba6a5c3cc897537ca539431d0e458 100644 |
--- a/src/compiler/access-builder.h |
+++ b/src/compiler/access-builder.h |
@@ -43,6 +43,9 @@ class AccessBuilder final : public AllStatic { |
// Provides access to JSArray::length() field. |
static FieldAccess ForJSArrayLength(ElementsKind elements_kind); |
+ // Provides access to JSFunction::literals() field. |
+ static FieldAccess ForJSFunctionLiterals(); |
+ |
// Provides access to JSArrayBuffer::backing_store() field. |
static FieldAccess ForJSArrayBufferBackingStore(); |
@@ -117,8 +120,8 @@ class AccessBuilder final : public AllStatic { |
static FieldAccess ForPropertyCellValue(); |
static FieldAccess ForPropertyCellValue(Type* type); |
- // Provides access to SharedFunctionInfo::feedback_vector() field. |
- static FieldAccess ForSharedFunctionInfoTypeFeedbackVector(); |
+ // Provides access to JSFunction::literals()[0] field. |
+ static FieldAccess ForLiteralsTypeFeedbackVector(); |
// Provides access to FixedArray elements. |
static ElementAccess ForFixedArrayElement(); |