Index: src/compiler/arm/instruction-selector-arm.cc |
diff --git a/src/compiler/arm/instruction-selector-arm.cc b/src/compiler/arm/instruction-selector-arm.cc |
index 795529d8a3520a41a0df9a2e84ba89c62e2f2dc3..a5388c5f49256484c6b297771e144cd0dd3f5c09 100644 |
--- a/src/compiler/arm/instruction-selector-arm.cc |
+++ b/src/compiler/arm/instruction-selector-arm.cc |
@@ -374,9 +374,7 @@ void InstructionSelector::VisitStore(Node* node) { |
inputs[input_count++] = g.UseUniqueRegister(index); |
addressing_mode = kMode_Offset_RR; |
} |
- inputs[input_count++] = (write_barrier_kind == kMapWriteBarrier) |
- ? g.UseRegister(value) |
- : g.UseUniqueRegister(value); |
+ inputs[input_count++] = g.UseUniqueRegister(value); |
RecordWriteMode record_write_mode = RecordWriteMode::kValueIsAny; |
switch (write_barrier_kind) { |
case kNoWriteBarrier: |