Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index dda3aad431d9c9e95a978d7fa933dc574e2ed1c0..c8555758cb80fa75bc0eb0409df6d88f043a71bc 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1670,18 +1670,6 @@ AllocationSiteMode AllocationSite::GetMode( |
return DONT_TRACK_ALLOCATION_SITE; |
} |
- |
-AllocationSiteMode AllocationSite::GetMode(ElementsKind from, |
- ElementsKind to) { |
- if (IsFastSmiElementsKind(from) && |
- IsMoreGeneralElementsKindTransition(from, to)) { |
- return TRACK_ALLOCATION_SITE; |
- } |
- |
- return DONT_TRACK_ALLOCATION_SITE; |
-} |
- |
- |
inline bool AllocationSite::CanTrack(InstanceType type) { |
if (FLAG_allocation_site_pretenuring) { |
return type == JS_ARRAY_TYPE || |