Index: src/arm/full-codegen-arm.cc |
=================================================================== |
--- src/arm/full-codegen-arm.cc (revision 12502) |
+++ src/arm/full-codegen-arm.cc (working copy) |
@@ -1590,7 +1590,8 @@ |
if (expr->depth() > 1) { |
__ CallRuntime(Runtime::kCreateObjectLiteral, 4); |
} else if (flags != ObjectLiteral::kFastElements || |
- properties_count > FastCloneShallowObjectStub::kMaximumClonedProperties) { |
+ properties_count > |
+ FastCloneShallowObjectStub::MaximumClonedProperties()) { |
__ CallRuntime(Runtime::kCreateObjectLiteralShallow, 4); |
} else { |
FastCloneShallowObjectStub stub(properties_count); |
@@ -1720,7 +1721,7 @@ |
isolate()->counters()->cow_arrays_created_stub(), 1, r1, r2); |
} else if (expr->depth() > 1) { |
__ CallRuntime(Runtime::kCreateArrayLiteral, 3); |
- } else if (length > FastCloneShallowArrayStub::kMaximumClonedLength) { |
+ } else if (length > FastCloneShallowArrayStub::MaximumClonedLength()) { |
__ CallRuntime(Runtime::kCreateArrayLiteralShallow, 3); |
} else { |
ASSERT(IsFastSmiOrObjectElementsKind(constant_elements_kind) || |