Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index f7ff09c57d74e7678c4873e347d5baa17b77ba7d..aa813f2e945b66bc93a8b0473d22cc1a0df27435 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -66,7 +66,7 @@ class CompilationInfo { |
bool is_lazy() const { return IsLazy::decode(flags_); } |
bool is_eval() const { return IsEval::decode(flags_); } |
bool is_global() const { return IsGlobal::decode(flags_); } |
- bool is_classic_mode() const { return language_mode() == CLASSIC_MODE; } |
+ bool is_sloppy_mode() const { return language_mode() == SLOPPY_MODE; } |
bool is_extended_mode() const { return language_mode() == EXTENDED_MODE; } |
LanguageMode language_mode() const { |
return LanguageModeField::decode(flags_); |
@@ -110,7 +110,7 @@ class CompilationInfo { |
return this_has_uses_; |
} |
void SetLanguageMode(LanguageMode language_mode) { |
- ASSERT(this->language_mode() == CLASSIC_MODE || |
+ ASSERT(this->language_mode() == SLOPPY_MODE || |
this->language_mode() == language_mode || |
language_mode == EXTENDED_MODE); |
flags_ = LanguageModeField::update(flags_, language_mode); |