Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 408b6573c4204e071b4483520afc96b411cd275a..f09d24719c7702320892e629e503c272587fc6fb 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -110,7 +110,7 @@ class Factory V8_FINAL { |
inline Handle<String> NewStringFromStaticAscii( |
const char (&str)[N], |
PretenureFlag pretenure = NOT_TENURED) { |
- ASSERT(N == StrLength(str) + 1); |
+ DCHECK(N == StrLength(str) + 1); |
return NewStringFromOneByte( |
STATIC_ASCII_VECTOR(str), pretenure).ToHandleChecked(); |
} |