Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index f25112939cada014a807e9c7c35d2d61d8230a75..2b48841357f9404931f2e792db14717f2e8841b6 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1335,7 +1335,7 @@ AllocationSiteMode AllocationSite::GetMode(ElementsKind from, |
ElementsKind to) { |
if (FLAG_track_allocation_sites && |
IsFastSmiElementsKind(from) && |
- (IsFastObjectElementsKind(to) || IsFastDoubleElementsKind(to))) { |
+ IsMoreGeneralElementsKindTransition(from, to)) { |
return TRACK_ALLOCATION_SITE; |
} |