Index: src/background-parsing-task.cc |
diff --git a/src/background-parsing-task.cc b/src/background-parsing-task.cc |
index 5df46c82b9049c372b33673b013395274627795d..fc5cbb45a68197d4e40060afd22d5bf8469fa952 100644 |
--- a/src/background-parsing-task.cc |
+++ b/src/background-parsing-task.cc |
@@ -3,11 +3,19 @@ |
// found in the LICENSE file. |
#include "src/background-parsing-task.h" |
+ |
#include "src/debug/debug.h" |
+#include "src/parsing/parser.h" |
namespace v8 { |
namespace internal { |
+void StreamedSource::Release() { |
+ parser.reset(); |
+ info.reset(); |
+ zone.reset(); |
+} |
+ |
BackgroundParsingTask::BackgroundParsingTask( |
StreamedSource* source, ScriptCompiler::CompileOptions options, |
int stack_size, Isolate* isolate) |