| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index 184d2ff4d874709669517cbbc2780c8e470e17df..ee00df6ba5067ce9aab8131dba466c6fd5f537b2 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -4193,9 +4193,7 @@ void HOptimizedGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) {
|
| Add<HPushArgument>(Add<HConstant>(constant_properties));
|
| Add<HPushArgument>(Add<HConstant>(flags));
|
|
|
| - Runtime::FunctionId function_id =
|
| - (expr->depth() > 1 || expr->may_store_doubles())
|
| - ? Runtime::kCreateObjectLiteral : Runtime::kCreateObjectLiteralShallow;
|
| + Runtime::FunctionId function_id = Runtime::kCreateObjectLiteral;
|
| literal = Add<HCallRuntime>(isolate()->factory()->empty_string(),
|
| Runtime::FunctionForId(function_id),
|
| 4);
|
|
|