Index: src/ast/scopeinfo.cc |
diff --git a/src/ast/scopeinfo.cc b/src/ast/scopeinfo.cc |
index da0dd76635d3df280f219428551dedab4fcb2788..ff50489694ddc2d3322b3c874ea0f7887230b547 100644 |
--- a/src/ast/scopeinfo.cc |
+++ b/src/ast/scopeinfo.cc |
@@ -445,6 +445,7 @@ int ScopeInfo::ContextLength() { |
(scope_type() == BLOCK_SCOPE && CallsSloppyEval() && |
is_declaration_scope()) || |
(scope_type() == FUNCTION_SCOPE && CallsSloppyEval()) || |
+ (scope_type() == FUNCTION_SCOPE && IsAsmModule()) || |
scope_type() == MODULE_SCOPE; |
if (has_context) { |