| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index 3242b19ac7ae046ad03ca408c4701cd1057ce113..77ff5660beec282e8a6f7fd8f3a24cbf37dca3c0 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -2191,11 +2191,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());
|
| @@ -2205,8 +2203,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);
|
| }
|
|
|