Chromium Code Reviews| Index: src/ia32/lithium-ia32.cc | 
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc | 
| index f7eeb60fcd178cd85b1712073dc05f4544ebeb3d..9345a4c23760be551c210291a95814b8618c1379 100644 | 
| --- a/src/ia32/lithium-ia32.cc | 
| +++ b/src/ia32/lithium-ia32.cc | 
| @@ -2471,10 +2471,11 @@ LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) { | 
| LStoreNamedField* result = | 
| new(zone()) LStoreNamedField(obj, val, temp, temp_map); | 
| - if ((FLAG_track_fields && instr->field_representation().IsSmi()) || | 
| - (FLAG_track_heap_object_fields && | 
| - instr->field_representation().IsHeapObject())) { | 
| - return AssignEnvironment(result); | 
| + if (FLAG_track_heap_object_fields && | 
| + instr->field_representation().IsHeapObject()) { | 
| + if (!instr->value()->type().IsHeapObject()) { | 
| 
 
danno
2013/06/06 13:07:32
And this one, too.
 
Toon Verwaest
2013/06/06 13:22:26
Done.
 
 | 
| + return AssignEnvironment(result); | 
| + } | 
| } | 
| return result; | 
| } |