Index: src/arm/assembler-arm-inl.h |
diff --git a/src/arm/assembler-arm-inl.h b/src/arm/assembler-arm-inl.h |
index 17831c87b4d1fa9ba6644ab1850eebb60dd7c75c..bfe9bc8335a384d9403512179456828b30d7526d 100644 |
--- a/src/arm/assembler-arm-inl.h |
+++ b/src/arm/assembler-arm-inl.h |
@@ -149,6 +149,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_pointer_at(pc_, reinterpret_cast<Address>(target)); |
if (mode == UPDATE_WRITE_BARRIER && |
host() != NULL && |