Index: src/scopeinfo.cc |
diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc |
index 0338b348d142e13e62524338957515516c7e61c6..a69c25757e9728498f14f05eccdfbacd4d62f037 100644 |
--- a/src/scopeinfo.cc |
+++ b/src/scopeinfo.cc |
@@ -56,7 +56,7 @@ Handle<ScopeInfo> ScopeInfo::Create(Isolate* isolate, Zone* zone, |
// Encode the flags. |
int flags = ScopeTypeField::encode(scope->scope_type()) | |
CallsEvalField::encode(scope->calls_eval()) | |
- StrictModeField::encode(scope->strict_mode()) | |
+ LanguageModeField::encode(scope->language_mode()) | |
FunctionVariableField::encode(function_name_info) | |
FunctionVariableMode::encode(function_variable_mode) | |
AsmModuleField::encode(scope->asm_module()) | |
@@ -146,8 +146,8 @@ bool ScopeInfo::CallsEval() { |
} |
-StrictMode ScopeInfo::strict_mode() { |
- return length() > 0 ? StrictModeField::decode(Flags()) : SLOPPY; |
+LanguageMode ScopeInfo::language_mode() { |
+ return length() > 0 ? LanguageModeField::decode(Flags()) : SLOPPY; |
} |