Index: src/contexts.cc |
diff --git a/src/contexts.cc b/src/contexts.cc |
index 012944e2c28b5344240852166b40ec2a6cd48cf4..4fb3c833b773195f706c52bcec56cddd8d932ebe 100644 |
--- a/src/contexts.cc |
+++ b/src/contexts.cc |
@@ -82,7 +82,7 @@ |
Context* Context::closure_context() { |
Context* current = this; |
while (!current->IsFunctionContext() && !current->IsScriptContext() && |
- !current->IsModuleContext() && !current->IsNativeContext()) { |
+ !current->IsNativeContext()) { |
current = current->previous(); |
DCHECK(current->closure() == closure()); |
} |