Index: src/ast/modules.h |
diff --git a/src/ast/modules.h b/src/ast/modules.h |
index 0dc4243fb27e9ad341e1f22d973e6c24b04f509f..a7d674144b8ea4e71844fdf4d299e0ca368b99c9 100644 |
--- a/src/ast/modules.h |
+++ b/src/ast/modules.h |
@@ -136,6 +136,7 @@ class ModuleDescriptor : public ZoneObject { |
} |
void AddSpecialExport(const Entry* entry, Zone* zone) { |
+ DCHECK_NULL(entry->local_name); |
DCHECK_LE(0, entry->module_request); |
special_exports_.Add(entry, zone); |
} |