mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
LibJS: Remove now-unused mutable caches from AST nodes
The Identifier and TaggedTemplateLiteral AST nodes had caches that were only used by the AST interpreter.
This commit is contained in:
parent
f49c5ca553
commit
0ff9992ea1
1 changed files with 0 additions and 2 deletions
|
@ -669,7 +669,6 @@ private:
|
||||||
virtual bool is_identifier() const override { return true; }
|
virtual bool is_identifier() const override { return true; }
|
||||||
|
|
||||||
DeprecatedFlyString m_string;
|
DeprecatedFlyString m_string;
|
||||||
mutable EnvironmentCoordinate m_cached_environment_coordinate;
|
|
||||||
|
|
||||||
Optional<size_t> m_local_variable_index;
|
Optional<size_t> m_local_variable_index;
|
||||||
bool m_is_global { false };
|
bool m_is_global { false };
|
||||||
|
@ -1865,7 +1864,6 @@ public:
|
||||||
private:
|
private:
|
||||||
NonnullRefPtr<Expression const> const m_tag;
|
NonnullRefPtr<Expression const> const m_tag;
|
||||||
NonnullRefPtr<TemplateLiteral const> const m_template_literal;
|
NonnullRefPtr<TemplateLiteral const> const m_template_literal;
|
||||||
mutable HashMap<GCPtr<Realm>, Handle<Array>> m_cached_values;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class MemberExpression final : public Expression {
|
class MemberExpression final : public Expression {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue