Index: src/compiler/ast-graph-builder.h |
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
index f5ad2620fc0c53c25762fc725ff4bb68c1069256..8b90f072a02a7249aa8fc2f200f85406ba6ffdaf 100644 |
--- a/src/compiler/ast-graph-builder.h |
+++ b/src/compiler/ast-graph-builder.h |
@@ -326,8 +326,9 @@ class AstGraphBuilder : public AstVisitor { |
// Builder for adding the [[HomeObject]] to a value if the value came from a |
// function literal and needs a home object. Do nothing otherwise. |
- Node* BuildSetHomeObject(Node* value, Node* home_object, Expression* expr, |
- const VectorSlotPair& feedback); |
+ Node* BuildSetHomeObject(Node* value, Node* home_object, |
+ ObjectLiteralProperty* property, |
+ int slot_number = 0); |
// Builders for error reporting at runtime. |
Node* BuildThrowError(Node* exception, BailoutId bailout_id); |
@@ -402,6 +403,10 @@ class AstGraphBuilder : public AstVisitor { |
const VectorSlotPair& feedback, |
BailoutId bailout_id); |
+ // Dispatched from VisitObjectLiteral. |
+ void VisitObjectLiteralAccessor(Node* home_object, |
+ ObjectLiteralProperty* property); |
+ |
// Dispatched from VisitClassLiteral. |
void VisitClassLiteralContents(ClassLiteral* expr); |