diff options
author | Michaël Zasso <targos@protonmail.com> | 2018-12-04 08:20:37 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2018-12-06 15:23:33 +0100 |
commit | 9b4bf7de6c9a7c25f116c7a502384c20b5cfaea3 (patch) | |
tree | 2b0c843168dafb939d8df8a15b2aa72b76dee51d /deps/v8/src/regexp/regexp-ast.h | |
parent | b8fbe69db1292307adb2c2b2e0d5ef48c4ab2faf (diff) | |
download | android-node-v8-9b4bf7de6c9a7c25f116c7a502384c20b5cfaea3.tar.gz android-node-v8-9b4bf7de6c9a7c25f116c7a502384c20b5cfaea3.tar.bz2 android-node-v8-9b4bf7de6c9a7c25f116c7a502384c20b5cfaea3.zip |
deps: update V8 to 7.1.302.28
PR-URL: https://github.com/nodejs/node/pull/23423
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/v8/src/regexp/regexp-ast.h')
-rw-r--r-- | deps/v8/src/regexp/regexp-ast.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/deps/v8/src/regexp/regexp-ast.h b/deps/v8/src/regexp/regexp-ast.h index 1a94832f71..9c39dda64e 100644 --- a/deps/v8/src/regexp/regexp-ast.h +++ b/deps/v8/src/regexp/regexp-ast.h @@ -37,10 +37,9 @@ class RegExpCompiler; class RegExpNode; class RegExpTree; - -class RegExpVisitor BASE_EMBEDDED { +class RegExpVisitor { public: - virtual ~RegExpVisitor() {} + virtual ~RegExpVisitor() = default; #define MAKE_CASE(Name) \ virtual void* Visit##Name(RegExp##Name*, void* data) = 0; FOR_EACH_REG_EXP_TREE_TYPE(MAKE_CASE) @@ -137,8 +136,7 @@ class CharacterRange { uc32 to_; }; - -class CharacterSet final BASE_EMBEDDED { +class CharacterSet final { public: explicit CharacterSet(uc16 standard_set_type) : ranges_(nullptr), standard_set_type_(standard_set_type) {} @@ -159,8 +157,7 @@ class CharacterSet final BASE_EMBEDDED { uc16 standard_set_type_; }; - -class TextElement final BASE_EMBEDDED { +class TextElement final { public: enum TextType { ATOM, CHAR_CLASS }; @@ -198,7 +195,7 @@ class TextElement final BASE_EMBEDDED { class RegExpTree : public ZoneObject { public: static const int kInfinity = kMaxInt; - virtual ~RegExpTree() {} + virtual ~RegExpTree() = default; virtual void* Accept(RegExpVisitor* visitor, void* data) = 0; virtual RegExpNode* ToNode(RegExpCompiler* compiler, RegExpNode* on_success) = 0; @@ -580,7 +577,7 @@ class RegExpBackReference final : public RegExpTree { class RegExpEmpty final : public RegExpTree { public: - RegExpEmpty() {} + RegExpEmpty() = default; void* Accept(RegExpVisitor* visitor, void* data) override; RegExpNode* ToNode(RegExpCompiler* compiler, RegExpNode* on_success) override; RegExpEmpty* AsEmpty() override; |