Index: src/compiler/arm64/instruction-selector-arm64.cc |
diff --git a/src/compiler/arm64/instruction-selector-arm64.cc b/src/compiler/arm64/instruction-selector-arm64.cc |
index 637f33c9cd2056cf1b7ba9148f4b7e8bcb0a0384..4d48cb93c5f165f8b4ef4a8f5d2f86fac1de3b34 100644 |
--- a/src/compiler/arm64/instruction-selector-arm64.cc |
+++ b/src/compiler/arm64/instruction-selector-arm64.cc |
@@ -606,7 +606,7 @@ void InstructionSelector::VisitStore(Node* node) { |
// TODO(arm64): I guess this could be done in a better way. |
if (write_barrier_kind != kNoWriteBarrier) { |
- DCHECK_EQ(MachineRepresentation::kTagged, rep); |
+ DCHECK(CanBeTaggedPointer(rep)); |
AddressingMode addressing_mode; |
InstructionOperand inputs[3]; |
size_t input_count = 0; |