| Index: src/mips/lithium-mips.cc
|
| diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc
|
| index 1539deb9c3d701f885af866637d1c3813ca50ef2..1f9261dc8cab59e273946040a1739630e476a276 100644
|
| --- a/src/mips/lithium-mips.cc
|
| +++ b/src/mips/lithium-mips.cc
|
| @@ -2120,11 +2120,9 @@ LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) {
|
| }
|
|
|
| LOperand* val;
|
| - if (needs_write_barrier ||
|
| - (FLAG_track_fields && instr->field_representation().IsSmi())) {
|
| + if (needs_write_barrier || instr->field_representation().IsSmi()) {
|
| val = UseTempRegister(instr->value());
|
| - } else if (FLAG_track_double_fields &&
|
| - instr->field_representation().IsDouble()) {
|
| + } else if (instr->field_representation().IsDouble()) {
|
| val = UseRegisterAtStart(instr->value());
|
| } else {
|
| val = UseRegister(instr->value());
|
| @@ -2134,8 +2132,7 @@ LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) {
|
| LOperand* temp = needs_write_barrier_for_map ? TempRegister() : NULL;
|
|
|
| LStoreNamedField* result = new(zone()) LStoreNamedField(obj, val, temp);
|
| - if (FLAG_track_heap_object_fields &&
|
| - instr->field_representation().IsHeapObject()) {
|
| + if (instr->field_representation().IsHeapObject()) {
|
| if (!instr->value()->type().IsHeapObject()) {
|
| return AssignEnvironment(result);
|
| }
|
|
|