Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 3ebceea66a4539296d626c98d3f8b9f48e2a8bac..7e587c1d457c88b2e5cd41adf12fe1246abcea6d 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -2394,16 +2394,7 @@ LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) { |
// We need a temporary register for write barrier of the map field. |
LOperand* temp_map = needs_write_barrier_for_map ? TempRegister() : NULL; |
- LInstruction* result = |
- new(zone()) LStoreNamedField(obj, val, temp, temp_map); |
- if (!instr->access().IsExternalMemory() && |
- instr->field_representation().IsHeapObject() && |
- (val->IsConstantOperand() |
- ? HConstant::cast(instr->value())->HasSmiValue() |
- : !instr->value()->type().IsHeapObject())) { |
- result = AssignEnvironment(result); |
- } |
- return result; |
+ return new(zone()) LStoreNamedField(obj, val, temp, temp_map); |
} |