Index: src/ast/ast.h |
diff --git a/src/ast/ast.h b/src/ast/ast.h |
index 27cc667eb11991750796920c77ea7dfe31e5fa9c..f769bd651f5ae36bdedbc80a166719acfc0b7001 100644 |
--- a/src/ast/ast.h |
+++ b/src/ast/ast.h |
@@ -3456,7 +3456,7 @@ class AstNodeFactory final BASE_EMBEDDED { |
SloppyBlockFunctionStatement* NewSloppyBlockFunctionStatement( |
Statement* statement, Scope* scope) { |
return new (local_zone_) |
adamk
2016/01/07 23:14:31
Don't you need to allocate the statement itself in
Dan Ehrenberg
2016/01/07 23:18:21
Oops, done, looks like I really need to figure out
|
- SloppyBlockFunctionStatement(local_zone_, statement, scope); |
+ SloppyBlockFunctionStatement(parser_zone_, statement, scope); |
} |
CaseClause* NewCaseClause( |