Chromium Code Reviews

Unified Diff: src/ast/ast.h

Issue 2663513002: [objects.h splitting] Move out ConstantElementsPair and BoileplateDescriptor. (Closed)
Patch Set: moving constant_elements_kind to ast.cc Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « BUILD.gn ('k') | src/ast/ast.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/ast.h
diff --git a/src/ast/ast.h b/src/ast/ast.h
index 5c9dc143ceca988e79a489191afc1c1a097d41aa..796037d7da451decdfe29efea954c3eb1ef85d69 100644
--- a/src/ast/ast.h
+++ b/src/ast/ast.h
@@ -1554,9 +1554,7 @@ class ArrayLiteral final : public MaterializedLiteral {
Handle<ConstantElementsPair> constant_elements() const {
return constant_elements_;
}
- ElementsKind constant_elements_kind() const {
- return static_cast<ElementsKind>(constant_elements()->elements_kind());
- }
+ ElementsKind constant_elements_kind() const;
ZoneList<Expression*>* values() const { return values_; }
« no previous file with comments | « BUILD.gn ('k') | src/ast/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine