Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 4f83aafa72e0515cf4a419f1d1cc16f25ba29a81..ccc12dc5b2015dc02f15803b67d76306dbd369a5 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -6816,6 +6816,12 @@ class HStoreNamedField V8_FINAL : public HTemplateInstruction<3> { |
new_space_dominator()); |
} |
+ SmiCheck SmiCheckForWriteBarrier() const { |
+ if (field_representation().IsHeapObject()) return OMIT_SMI_CHECK; |
+ if (value()->IsHeapObject()) return OMIT_SMI_CHECK; |
+ return INLINE_SMI_CHECK; |
+ } |
+ |
Representation field_representation() const { |
return access_.representation(); |
} |