Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index 0fbd2c5865043b5c6b47d092d7a57f515caa82b6..64ff491979e0acad9c015fdfd63eec1dd24d6c6f 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -204,6 +204,7 @@ Cell* RelocInfo::target_cell() { |
void RelocInfo::set_target_cell(Cell* cell, |
WriteBarrierMode write_barrier_mode, |
ICacheFlushMode icache_flush_mode) { |
+ DCHECK(cell->IsCell()); |
DCHECK(rmode_ == RelocInfo::CELL); |
Address address = cell->address() + Cell::kValueOffset; |
Memory::Address_at(pc_) = address; |