Index: src/compiler/ast-graph-builder.h |
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
index c2bd697dfa1a971dd89ec5dd480d1d1c9390de6f..442233bf5d705ca45e370a42938094d2bee1a693 100644 |
--- a/src/compiler/ast-graph-builder.h |
+++ b/src/compiler/ast-graph-builder.h |
@@ -233,10 +233,9 @@ class AstGraphBuilder : public AstVisitor { |
Node* BuildToBoolean(Node* value); |
Node* BuildToName(Node* value, BailoutId bailout_id); |
- // Adds the [[HomeObject]] to a value if the value came from a function |
- // literal that needs a home object. |
- void AddHomeObjectIfNeeded(Expression* expr, Node* function, |
- Node* home_object); |
+ // 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); |
// Builders for error reporting at runtime. |
Node* BuildThrowReferenceError(Variable* var, BailoutId bailout_id); |