Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 77e4216f1951d621906db0698358433ead998834..b9c5c3da1ebc1954d15f9b46a22b1c780bad9fc6 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -5237,38 +5237,6 @@ void LCodeGen::DoArrayLiteral(LArrayLiteral* instr) { |
} |
-void LCodeGen::DoObjectLiteral(LObjectLiteral* instr) { |
- ASSERT(ToRegister(instr->result()).is(v0)); |
- Handle<FixedArray> literals = instr->hydrogen()->literals(); |
- Handle<FixedArray> constant_properties = |
- instr->hydrogen()->constant_properties(); |
- |
- // Set up the parameters to the stub/runtime call. |
- __ LoadHeapObject(a3, literals); |
- __ li(a2, Operand(Smi::FromInt(instr->hydrogen()->literal_index()))); |
- __ li(a1, Operand(constant_properties)); |
- int flags = instr->hydrogen()->fast_elements() |
- ? ObjectLiteral::kFastElements |
- : ObjectLiteral::kNoFlags; |
- __ li(a0, 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(a3, a2, a1, a0); |
- CallRuntime(Runtime::kCreateObjectLiteral, 4, instr); |
- } else if (flags != ObjectLiteral::kFastElements || |
- properties_count > FastCloneShallowObjectStub::kMaximumClonedProperties) { |
- __ Push(a3, a2, a1, a0); |
- 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(a0)); |
ASSERT(ToRegister(instr->result()).is(v0)); |