Index: src/rewriter.cc |
diff --git a/src/rewriter.cc b/src/rewriter.cc |
index e58ddb417e267763599dbf78dbc3c0f9f97ac0b4..3fcd603fff6e9b8682d0ed0b7fc9aeb956312bdc 100644 |
--- a/src/rewriter.cc |
+++ b/src/rewriter.cc |
@@ -262,7 +262,7 @@ bool Rewriter::Rewrite(CompilationInfo* info) { |
Statement* result_statement = |
processor.factory()->NewReturnStatement(result_proxy); |
result_statement->set_statement_pos(position); |
- body->Add(result_statement); |
+ body->Add(result_statement, info->isolate()->zone()); |
} |
} |