Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1673)

Unified Diff: src/ast.h

Issue 1212473002: [destructuring] Re-index materialized literals in arrow function parameters. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: CR feedback Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | src/ast-literal-reindexer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast.h
diff --git a/src/ast.h b/src/ast.h
index a70b1fbfac80e4f6778d90b5b1c7402288a24b57..e8a8e0e012067e56f5df9dd82fa4893729670425 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -1298,6 +1298,8 @@ class Literal final : public Expression {
};
+class AstLiteralReindexer;
+
// Base class for literals that needs space in the corresponding JSFunction.
class MaterializedLiteral : public Expression {
public:
@@ -1349,6 +1351,8 @@ class MaterializedLiteral : public Expression {
bool is_simple_;
bool is_strong_;
int depth_;
+
+ friend class AstLiteralReindexer;
};
« no previous file with comments | « BUILD.gn ('k') | src/ast-literal-reindexer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698