summaryrefslogtreecommitdiff
path: root/deps/v8/src/regexp/regexp-interpreter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/regexp/regexp-interpreter.cc')
-rw-r--r--deps/v8/src/regexp/regexp-interpreter.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/src/regexp/regexp-interpreter.cc b/deps/v8/src/regexp/regexp-interpreter.cc
index be3bb45a5f..e1549f95be 100644
--- a/deps/v8/src/regexp/regexp-interpreter.cc
+++ b/deps/v8/src/regexp/regexp-interpreter.cc
@@ -1075,6 +1075,9 @@ IrregexpInterpreter::Result IrregexpInterpreter::MatchInternal(
uint32_t backtrack_limit) {
DCHECK(subject_string.IsFlat());
+ // TODO(chromium:1262676): Remove this CHECK once fixed.
+ CHECK(code_array.IsByteArray());
+
// Note: Heap allocation *is* allowed in two situations if calling from
// Runtime:
// 1. When creating & throwing a stack overflow exception. The interpreter