Index: src/compiler/x87/instruction-selector-x87.cc |
diff --git a/src/compiler/x87/instruction-selector-x87.cc b/src/compiler/x87/instruction-selector-x87.cc |
index 0fe6a4b704ba6a1b8f737fa5a39b5589055850f0..4c343c5ae6f3768b47b49aa78247060c872dc2db 100644 |
--- a/src/compiler/x87/instruction-selector-x87.cc |
+++ b/src/compiler/x87/instruction-selector-x87.cc |
@@ -223,7 +223,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; |