Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(960)

Unified Diff: src/ast/ast.h

Issue 2145293003: Fix temporary zones: DoExpression should go into local_zone_. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/ast.h
diff --git a/src/ast/ast.h b/src/ast/ast.h
index 100e7a760036ea21b305a6647ca541d42d9f977c..f4e781132f76ef8b4512bcc3dc63b0427963667c 100644
--- a/src/ast/ast.h
+++ b/src/ast/ast.h
@@ -3471,7 +3471,7 @@ class AstNodeFactory final BASE_EMBEDDED {
DoExpression* NewDoExpression(Block* block, Variable* result_var, int pos) {
VariableProxy* result = NewVariableProxy(result_var, pos);
- return new (parser_zone_) DoExpression(parser_zone_, block, result, pos);
+ return new (local_zone_) DoExpression(local_zone_, block, result, pos);
}
ThisFunction* NewThisFunction(int pos) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698