| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 016b3b0e0d9a9079c18613c8e82ea767d8231a7b..133a1fe0d14c66da4b677e72af981db0bc2699c0 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 ||
|
|
|