Index: src/dateparser.h |
diff --git a/src/dateparser.h b/src/dateparser.h |
index 0a0a6f0d9dee16f4a8bb68ad62307a29288c8cf0..f284590264175bc4a7a79bb87873d89ad3c2d502 100644 |
--- a/src/dateparser.h |
+++ b/src/dateparser.h |
@@ -151,19 +151,19 @@ class DateParser : public AllStatic { |
int length() { return length_; } |
int number() { |
- ASSERT(IsNumber()); |
+ DCHECK(IsNumber()); |
return value_; |
} |
KeywordType keyword_type() { |
- ASSERT(IsKeyword()); |
+ DCHECK(IsKeyword()); |
return static_cast<KeywordType>(tag_); |
} |
int keyword_value() { |
- ASSERT(IsKeyword()); |
+ DCHECK(IsKeyword()); |
return value_; |
} |
char symbol() { |
- ASSERT(IsSymbol()); |
+ DCHECK(IsSymbol()); |
return static_cast<char>(value_); |
} |
bool IsSymbol(char symbol) { |
@@ -179,7 +179,7 @@ class DateParser : public AllStatic { |
return tag_ == kSymbolTag && (value_ == '-' || value_ == '+'); |
} |
int ascii_sign() { |
- ASSERT(IsAsciiSign()); |
+ DCHECK(IsAsciiSign()); |
return 44 - value_; |
} |
bool IsKeywordZ() { |