Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 16bb6c0d01330e73bacb096ed5d70619ed615078..33368e8b83d53eab2a46bdb08865bdcac330ed45 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -812,10 +812,10 @@ void FullCodeGenerator::VisitModuleUrl(ModuleUrl* module) { |
int FullCodeGenerator::DeclareGlobalsFlags() { |
- ASSERT(DeclareGlobalsLanguageMode::is_valid(language_mode())); |
+ ASSERT(DeclareGlobalsStrictMode::is_valid(strict_mode())); |
return DeclareGlobalsEvalFlag::encode(is_eval()) | |
DeclareGlobalsNativeFlag::encode(is_native()) | |
- DeclareGlobalsLanguageMode::encode(language_mode()); |
+ DeclareGlobalsStrictMode::encode(strict_mode()); |
} |