Index: src/ast/modules.cc |
diff --git a/src/ast/modules.cc b/src/ast/modules.cc |
index a5ef69e1bbfdb6a45a86d14680ffcb3b336b26b1..cd47c00b92971ab9a583e91de51913b3768ade31 100644 |
--- a/src/ast/modules.cc |
+++ b/src/ast/modules.cc |
@@ -97,10 +97,9 @@ void ModuleDescriptor::MakeIndirectExportsExplicit() { |
} |
} |
-bool ModuleDescriptor::Validate(DeclarationScope* module_scope, |
+bool ModuleDescriptor::Validate(ModuleScope* module_scope, |
PendingCompilationErrorHandler* error_handler, |
Zone* zone) { |
- DCHECK(module_scope->is_module_scope()); |
DCHECK_EQ(this, module_scope->module()); |
DCHECK_NOT_NULL(error_handler); |