summaryrefslogtreecommitdiff
path: root/deps/v8/src/builtins/regexp-search.tq
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/builtins/regexp-search.tq')
-rw-r--r--deps/v8/src/builtins/regexp-search.tq2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/builtins/regexp-search.tq b/deps/v8/src/builtins/regexp-search.tq
index b70d23a0dd..7deec8b1c6 100644
--- a/deps/v8/src/builtins/regexp-search.tq
+++ b/deps/v8/src/builtins/regexp-search.tq
@@ -9,7 +9,7 @@ namespace regexp {
transitioning macro
RegExpPrototypeSearchBodyFast(implicit context: Context)(
regexp: JSRegExp, string: String): JSAny {
- assert(IsFastRegExpPermissive(regexp));
+ dcheck(IsFastRegExpPermissive(regexp));
// Grab the initial value of last index.
const previousLastIndex: Smi = FastLoadLastIndex(regexp);