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 f48c2ef348e4869427bf5432721cba2fbc74e2a2..4fa1a1dfe94b0076af3067511a08a5a18f06e6b5 100644 |
--- a/src/compiler/arm/instruction-selector-arm.cc |
+++ b/src/compiler/arm/instruction-selector-arm.cc |
@@ -424,7 +424,7 @@ void InstructionSelector::VisitStore(Node* node) { |
MachineRepresentation rep = store_rep.representation(); |
if (write_barrier_kind != kNoWriteBarrier) { |
- DCHECK_EQ(MachineRepresentation::kTagged, rep); |
+ DCHECK(CanBeTaggedPointer(rep)); |
AddressingMode addressing_mode; |
InstructionOperand inputs[3]; |
size_t input_count = 0; |