Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 5a5c734ae3c4e3587d750e5a794051590ea7321e..244c4ed760e7cba6a77deec71e84b5fef5137618 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -68,7 +68,7 @@ class FunctionEntry BASE_EMBEDDED { |
int literal_count() { return backing_[kLiteralCountIndex]; } |
int property_count() { return backing_[kPropertyCountIndex]; } |
LanguageMode language_mode() { |
- ASSERT(backing_[kLanguageModeIndex] == CLASSIC_MODE || |
+ ASSERT(backing_[kLanguageModeIndex] == SLOPPY_MODE || |
backing_[kLanguageModeIndex] == STRICT_MODE || |
backing_[kLanguageModeIndex] == EXTENDED_MODE); |
return static_cast<LanguageMode>(backing_[kLanguageModeIndex]); |