Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 2b10db93564437e9378f4dc684961be910eac9ce..713472db841e331e8af8e866c00fbe9edebd322f 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1726,6 +1726,7 @@ Handle<Module> Factory::NewModule(Handle<SharedFunctionInfo> code) { |
module->set_code(*code); |
module->set_exports(*exports); |
module->set_requested_modules(*requested_modules); |
+ module->set_flags(0); |
return module; |
} |