| Index: src/mips/full-codegen-mips.cc
|
| diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
|
| index c7dae7f4babb0483bcd5097d5e3db86c6c2f83da..872af86a95f6595ab34fa6f0413a2868ae2d7615 100644
|
| --- a/src/mips/full-codegen-mips.cc
|
| +++ b/src/mips/full-codegen-mips.cc
|
| @@ -1592,7 +1592,8 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
| : ObjectLiteral::kNoFlags;
|
| __ li(a0, Operand(Smi::FromInt(flags)));
|
| int properties_count = constant_properties->length() / 2;
|
| - if (expr->depth() > 1) {
|
| + if ((FLAG_track_double_fields && expr->may_store_doubles()) ||
|
| + expr->depth() > 1) {
|
| __ Push(a3, a2, a1, a0);
|
| __ CallRuntime(Runtime::kCreateObjectLiteral, 4);
|
| } else if (Serializer::enabled() || flags != ObjectLiteral::kFastElements ||
|
|
|