Index: src/compiler/ast-graph-builder.h |
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
index eaaf2a8d69b65f3e5f252bb59993c1559a803153..b9ce500f775897f26a56226f19b1a67f23476d81 100644 |
--- a/src/compiler/ast-graph-builder.h |
+++ b/src/compiler/ast-graph-builder.h |
@@ -288,8 +288,9 @@ class AstGraphBuilder : public AstVisitor { |
Node* BuildStoreExternal(ExternalReference ref, MachineType type, Node* val); |
// Builders for automatic type conversion. |
- Node* BuildToBoolean(Node* value); |
- Node* BuildToName(Node* value, BailoutId bailout_id); |
+ Node* BuildToBoolean(Node* input); |
+ Node* BuildToName(Node* input, BailoutId bailout_id); |
+ Node* BuildToObject(Node* input, BailoutId bailout_id); |
// Builder for adding the [[HomeObject]] to a value if the value came from a |
// function literal and needs a home object. Do nothing otherwise. |
@@ -359,7 +360,6 @@ class AstGraphBuilder : public AstVisitor { |
// Dispatched from VisitForInStatement. |
void VisitForInAssignment(Expression* expr, Node* value, |
BailoutId bailout_id); |
- void VisitForInBody(ForInStatement* stmt); |
// Dispatched from VisitClassLiteral. |
void VisitClassLiteralContents(ClassLiteral* expr); |