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

Unified Diff: src/ast/ast.cc

Issue 2760953002: [builtins] Move more files into v8_builtins_generators source set (Closed)
Patch Set: rebased Created 3 years, 9 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/builtins/builtins-arguments.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/ast.cc
diff --git a/src/ast/ast.cc b/src/ast/ast.cc
index 6aaae04ea35bab04c21e3c78ba5af333e8c70f4c..447af328a8c5f1d66ced7f6519fbc52edfed038b 100644
--- a/src/ast/ast.cc
+++ b/src/ast/ast.cc
@@ -687,8 +687,8 @@ bool ObjectLiteral::IsFastCloningSupported() const {
// literals don't support copy-on-write (COW) elements for now.
// TODO(mvstanton): make object literals support COW elements.
return fast_elements() && has_shallow_properties() &&
- properties_count() <= ConstructorBuiltinsAssembler::
- kMaximumClonedShallowObjectProperties;
+ properties_count() <=
+ ConstructorBuiltins::kMaximumClonedShallowObjectProperties;
}
ElementsKind ArrayLiteral::constant_elements_kind() const {
@@ -792,7 +792,7 @@ void ArrayLiteral::BuildConstantElements(Isolate* isolate) {
bool ArrayLiteral::IsFastCloningSupported() const {
return depth() <= 1 &&
values()->length() <=
- ConstructorBuiltinsAssembler::kMaximumClonedShallowArrayElements;
+ ConstructorBuiltins::kMaximumClonedShallowArrayElements;
}
void ArrayLiteral::RewindSpreads() {
« no previous file with comments | « BUILD.gn ('k') | src/builtins/builtins-arguments.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698