Chromium Code Reviews| Index: src/compiler/ast-graph-builder.h |
| diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
| index 030868cd33c1c7698ef49f78c89c38d5394c613b..c8a698b219a7d694dd3a3b34e73019272bfdad40 100644 |
| --- a/src/compiler/ast-graph-builder.h |
| +++ b/src/compiler/ast-graph-builder.h |
| @@ -227,6 +227,11 @@ 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, |
|
Michael Starzinger
2015/02/16 18:17:50
Single "Add" method not adhering to description in
|
| + Node* home_object); |
| + |
| // Builders for error reporting at runtime. |
| Node* BuildThrowReferenceError(Variable* var, BailoutId bailout_id); |
| Node* BuildThrowConstAssignError(BailoutId bailout_id); |