summaryrefslogtreecommitdiff
path: root/deps/v8/src/char-predicates-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/char-predicates-inl.h')
-rw-r--r--deps/v8/src/char-predicates-inl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/char-predicates-inl.h b/deps/v8/src/char-predicates-inl.h
index 16a89f4c3..71d1b06a9 100644
--- a/deps/v8/src/char-predicates-inl.h
+++ b/deps/v8/src/char-predicates-inl.h
@@ -5,7 +5,7 @@
#ifndef V8_CHAR_PREDICATES_INL_H_
#define V8_CHAR_PREDICATES_INL_H_
-#include "char-predicates.h"
+#include "src/char-predicates.h"
namespace v8 {
namespace internal {
@@ -30,7 +30,7 @@ inline bool IsLineFeed(uc32 c) {
inline bool IsInRange(int value, int lower_limit, int higher_limit) {
- ASSERT(lower_limit <= higher_limit);
+ DCHECK(lower_limit <= higher_limit);
return static_cast<unsigned int>(value - lower_limit) <=
static_cast<unsigned int>(higher_limit - lower_limit);
}