Index: src/compiler/ppc/instruction-selector-ppc.cc |
diff --git a/src/compiler/ppc/instruction-selector-ppc.cc b/src/compiler/ppc/instruction-selector-ppc.cc |
index d0488919b56e97563c373c84308da7b23c46975b..c7e1fa34c1ec69c96982f266f5935911355c3725 100644 |
--- a/src/compiler/ppc/instruction-selector-ppc.cc |
+++ b/src/compiler/ppc/instruction-selector-ppc.cc |
@@ -248,7 +248,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; |