From 6cdd310275bb0f8056aa0ae6d95614e9ca5b70c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 14 Jul 2021 11:30:07 +0200 Subject: deps: update V8 to 9.2.230.21 PR-URL: https://github.com/nodejs/node/pull/38990 Reviewed-By: Jiawen Geng Reviewed-By: Matteo Collina Reviewed-By: Robert Nagy Reviewed-By: Colin Ihrig --- deps/v8/src/regexp/regexp-nodes.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'deps/v8/src/regexp/regexp-nodes.h') diff --git a/deps/v8/src/regexp/regexp-nodes.h b/deps/v8/src/regexp/regexp-nodes.h index 9b863ef239..5a7df3df6b 100644 --- a/deps/v8/src/regexp/regexp-nodes.h +++ b/deps/v8/src/regexp/regexp-nodes.h @@ -109,6 +109,11 @@ struct EatsAtLeastInfo final { } } + bool IsZero() const { + return eats_at_least_from_possibly_start == 0 && + eats_at_least_from_not_start == 0; + } + // Any successful match starting from the current node will consume at least // this many characters. This does not necessarily mean that there is a // possible match with exactly this many characters, but we generally try to -- cgit v1.2.1