| Index: src/x64/lithium-codegen-x64.cc
|
| ===================================================================
|
| --- src/x64/lithium-codegen-x64.cc (revision 12502)
|
| +++ src/x64/lithium-codegen-x64.cc (working copy)
|
| @@ -4698,7 +4698,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 =
|
| @@ -4870,7 +4870,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);
|
|
|