Index: src/compiler/x64/instruction-selector-x64.cc |
diff --git a/src/compiler/x64/instruction-selector-x64.cc b/src/compiler/x64/instruction-selector-x64.cc |
index 9f0adbc9afea1c70b415da410b3d439b381083a9..047854af1689e25f20cf98108850f0eb74985330 100644 |
--- a/src/compiler/x64/instruction-selector-x64.cc |
+++ b/src/compiler/x64/instruction-selector-x64.cc |
@@ -212,7 +212,8 @@ void InstructionSelector::VisitStore(Node* node) { |
MachineRepresentation rep = store_rep.representation(); |
if (write_barrier_kind != kNoWriteBarrier) { |
- DCHECK_EQ(MachineRepresentation::kTagged, rep); |
+ DCHECK(rep == MachineRepresentation::kTagged || |
+ rep == MachineRepresentation::kTaggedPointer); |
AddressingMode addressing_mode; |
InstructionOperand inputs[3]; |
size_t input_count = 0; |