Index: src/arm/lithium-codegen-arm.cc |
=================================================================== |
--- src/arm/lithium-codegen-arm.cc (revision 12502) |
+++ src/arm/lithium-codegen-arm.cc (working copy) |
@@ -5039,7 +5039,7 @@ |
CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
} else if (instr->hydrogen()->depth() > 1) { |
CallRuntime(Runtime::kCreateArrayLiteral, 3, instr); |
- } else if (length > FastCloneShallowArrayStub::kMaximumClonedLength) { |
+ } else if (length > FastCloneShallowArrayStub::MaximumClonedLength()) { |
CallRuntime(Runtime::kCreateArrayLiteralShallow, 3, instr); |
} else { |
FastCloneShallowArrayStub::Mode mode = |
@@ -5215,7 +5215,8 @@ |
if (instr->hydrogen()->depth() > 1) { |
CallRuntime(Runtime::kCreateObjectLiteral, 4, instr); |
} else if (flags != ObjectLiteral::kFastElements || |
- properties_count > FastCloneShallowObjectStub::kMaximumClonedProperties) { |
+ properties_count > |
+ FastCloneShallowObjectStub::MaximumClonedProperties()) { |
CallRuntime(Runtime::kCreateObjectLiteralShallow, 4, instr); |
} else { |
FastCloneShallowObjectStub stub(properties_count); |