Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index e882655d21501d6cf94718cdff670f5a457ed6b2..56e15119434b07777314d06eabdc0222cd5a59ae 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2248,13 +2248,7 @@ LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) { |
// We need a temporary register for write barrier of the map field. |
LOperand* temp = needs_write_barrier_for_map ? TempRegister() : NULL; |
- LInstruction* result = new(zone()) LStoreNamedField(obj, val, temp); |
- if (!instr->access().IsExternalMemory() && |
- instr->field_representation().IsHeapObject() && |
- !instr->value()->type().IsHeapObject()) { |
- result = AssignEnvironment(result); |
- } |
- return result; |
+ return new(zone()) LStoreNamedField(obj, val, temp); |
} |