Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 79427524860b3c1d99e26a443f606969ff9deb0a..960700b9e65ea41ff2cdef46ba8a0b0a84327dc3 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -544,10 +544,10 @@ void FullCodeGenerator::VisitDeclarations( |
int FullCodeGenerator::DeclareGlobalsFlags() { |
- ASSERT(DeclareGlobalsStrictModeFlag::is_valid(strict_mode_flag())); |
+ ASSERT(DeclareGlobalsLanguageMode::is_valid(language_mode())); |
return DeclareGlobalsEvalFlag::encode(is_eval()) | |
- DeclareGlobalsStrictModeFlag::encode(strict_mode_flag()) | |
- DeclareGlobalsNativeFlag::encode(is_native()); |
+ DeclareGlobalsNativeFlag::encode(is_native()) | |
+ DeclareGlobalsLanguageMode::encode(language_mode()); |
} |