Index: src/compiler/ast-graph-builder.h |
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
index 0211c721530b9022671ca8176c9b614c23f664b6..975e08094c4752da0d7da5baf56c920f0a6e62ff 100644 |
--- a/src/compiler/ast-graph-builder.h |
+++ b/src/compiler/ast-graph-builder.h |
@@ -309,8 +309,15 @@ class AstGraphBuilder : public AstVisitor<AstGraphBuilder> { |
// Builders for error reporting at runtime. |
Node* BuildThrowError(Node* exception, BailoutId bailout_id); |
+ Node* BuildThrowReferenceError(Variable* var, BailoutId bailout_id); |
Node* BuildThrowConstAssignError(BailoutId bailout_id); |
+ // Builders for dynamic hole-checks at runtime. |
+ Node* BuildHoleCheckThenThrow(Node* value, Variable* var, Node* not_hole, |
+ BailoutId bailout_id); |
+ Node* BuildHoleCheckElseThrow(Node* value, Variable* var, Node* for_hole, |
+ BailoutId bailout_id); |
+ |
// Builders for non-local control flow. |
Node* BuildReturn(Node* return_value); |
Node* BuildThrow(Node* exception_value); |