Index: src/mips/assembler-mips-inl.h |
diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h |
index f518f05aafc7219d19afba8d636a35f6305fd387..2ca00831cfb80f8cb1e014ac3937b769d2d7c9c1 100644 |
--- a/src/mips/assembler-mips-inl.h |
+++ b/src/mips/assembler-mips-inl.h |
@@ -202,6 +202,7 @@ Object** RelocInfo::target_object_address() { |
void RelocInfo::set_target_object(Object* target, WriteBarrierMode mode) { |
ASSERT(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); |
+ ASSERT(!target->IsConsString()); |
Assembler::set_target_address_at(pc_, reinterpret_cast<Address>(target)); |
if (mode == UPDATE_WRITE_BARRIER && |
host() != NULL && |