Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 425683c4fb4d2626736f6cd81bce88385163003a..a2e98a18bdc7c47e86e9976103e71742f03318ea 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -6793,7 +6793,9 @@ class HStoreNamedField V8_FINAL : public HTemplateInstruction<3> { |
} |
bool NeedsWriteBarrier() const { |
- ASSERT(!field_representation().IsDouble() || !has_transition()); |
+ ASSERT(!field_representation().IsDouble() || |
+ (FLAG_unbox_double_fields && access_.IsInobject()) || |
+ !has_transition()); |
if (field_representation().IsDouble()) return false; |
if (field_representation().IsSmi()) return false; |
if (field_representation().IsInteger32()) return false; |