summaryrefslogtreecommitdiff
path: root/deps/v8/src/ast/ast.h
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2022-05-17 13:57:06 +0200
committerGitHub <noreply@github.com>2022-05-17 12:57:06 +0100
commit0ce4725330bb9c35952e974848ad116142d9fb4e (patch)
treec324d3f5860a9243e14f5a1ab44feec647d13baa /deps/v8/src/ast/ast.h
parent5a3de828c92f989b54b688fa90fdf8ba8e4180ae (diff)
downloadnode-new-0ce4725330bb9c35952e974848ad116142d9fb4e.tar.gz
deps: patch V8 to 10.2.154.4
Refs: https://github.com/v8/v8/compare/10.2.154.2...10.2.154.4 PR-URL: https://github.com/nodejs/node/pull/43067 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'deps/v8/src/ast/ast.h')
-rw-r--r--deps/v8/src/ast/ast.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/deps/v8/src/ast/ast.h b/deps/v8/src/ast/ast.h
index a348ccf82a..971a2b0ec1 100644
--- a/deps/v8/src/ast/ast.h
+++ b/deps/v8/src/ast/ast.h
@@ -236,8 +236,6 @@ class Expression : public AstNode {
// True iff the expression is the null literal.
bool IsNullLiteral() const;
- bool IsBooleanLiteral() const;
-
// True iff the expression is the hole literal.
bool IsTheHoleLiteral() const;
@@ -957,11 +955,6 @@ class Literal final : public Expression {
return Smi::FromInt(smi_);
}
- bool AsBooleanLiteral() const {
- DCHECK_EQ(kBoolean, type());
- return boolean_;
- }
-
// Returns true if literal represents a Number.
bool IsNumber() const { return type() == kHeapNumber || type() == kSmi; }
double AsNumber() const {
@@ -1970,7 +1963,6 @@ class CompareOperation final : public Expression {
// Match special cases.
bool IsLiteralCompareTypeof(Expression** expr, Literal** literal);
- bool IsLiteralStrictCompareBoolean(Expression** expr, Literal** literal);
bool IsLiteralCompareUndefined(Expression** expr);
bool IsLiteralCompareNull(Expression** expr);