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() { |