Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 0abf9ad217938b23a89d1f6c9fbba09e7d54c48b..26b76ee7db91e92234172d3601c4920c027aecfe 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1764,6 +1764,7 @@ Handle<Module> Factory::NewModule(Handle<SharedFunctionInfo> code) { |
module->set_exports(*exports); |
module->set_requested_modules(*requested_modules); |
module->set_flags(0); |
+ module->set_embedder_data(isolate()->heap()->undefined_value()); |
return module; |
} |