Index: src/ia32/full-codegen-ia32.cc |
=================================================================== |
--- src/ia32/full-codegen-ia32.cc (revision 12502) |
+++ src/ia32/full-codegen-ia32.cc (working copy) |
@@ -1548,7 +1548,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); |
@@ -1675,7 +1676,7 @@ |
__ CallStub(&stub); |
} 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) || |