| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index 3a0f476b5af475ebc58713a420d3eb40464bb09a..a5e74fb68793d57a2973992307afafe0254a92d6 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -5533,37 +5533,6 @@ void LCodeGen::DoArrayLiteral(LArrayLiteral* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoObjectLiteral(LObjectLiteral* instr) {
|
| - Handle<FixedArray> literals = instr->hydrogen()->literals();
|
| - Handle<FixedArray> constant_properties =
|
| - instr->hydrogen()->constant_properties();
|
| -
|
| - // Set up the parameters to the stub/runtime call.
|
| - __ LoadHeapObject(r3, literals);
|
| - __ mov(r2, Operand(Smi::FromInt(instr->hydrogen()->literal_index())));
|
| - __ mov(r1, Operand(constant_properties));
|
| - int flags = instr->hydrogen()->fast_elements()
|
| - ? ObjectLiteral::kFastElements
|
| - : ObjectLiteral::kNoFlags;
|
| - __ mov(r0, Operand(Smi::FromInt(flags)));
|
| -
|
| - // Pick the right runtime function or stub to call.
|
| - int properties_count = instr->hydrogen()->constant_properties_length() / 2;
|
| - if ((FLAG_track_double_fields && instr->hydrogen()->may_store_doubles()) ||
|
| - instr->hydrogen()->depth() > 1) {
|
| - __ Push(r3, r2, r1, r0);
|
| - CallRuntime(Runtime::kCreateObjectLiteral, 4, instr);
|
| - } else if (flags != ObjectLiteral::kFastElements ||
|
| - properties_count > FastCloneShallowObjectStub::kMaximumClonedProperties) {
|
| - __ Push(r3, r2, r1, r0);
|
| - CallRuntime(Runtime::kCreateObjectLiteralShallow, 4, instr);
|
| - } else {
|
| - FastCloneShallowObjectStub stub(properties_count);
|
| - CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
|
| - }
|
| -}
|
| -
|
| -
|
| void LCodeGen::DoToFastProperties(LToFastProperties* instr) {
|
| ASSERT(ToRegister(instr->value()).is(r0));
|
| __ push(r0);
|
|
|