Index: src/background-parsing-task.cc |
diff --git a/src/background-parsing-task.cc b/src/background-parsing-task.cc |
index f316d8c952512212ff440d4ad20acaf987287667..03ff4ba14f737febde750ce4a7150e777058f54b 100644 |
--- a/src/background-parsing-task.cc |
+++ b/src/background-parsing-task.cc |
@@ -31,6 +31,7 @@ BackgroundParsingTask::BackgroundParsingTask( |
// will happen in the main thread after parsing. |
Zone* zone = new Zone(isolate->allocator()); |
ParseInfo* info = new ParseInfo(zone); |
+ info->set_toplevel(); |
source->zone.reset(zone); |
source->info.reset(info); |
info->set_isolate(isolate); |