Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index b08bc7705a71b4bf9991554cc1ea708ffdc5c179..cbcb7e8d2bd26eec80c8aca08e63d4ad2708c9fb 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -6887,7 +6887,9 @@ class HStoreNamedField FINAL : public HTemplateInstruction<3> { |
} |
bool NeedsWriteBarrier() const { |
- DCHECK(!field_representation().IsDouble() || !has_transition()); |
+ DCHECK(!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; |