| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 1717a5f4b59a8cba4db473b0e0634e9c9c437b93..7c703aacceaa030ba8080ff308df26a8f620f141 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -1297,19 +1297,6 @@ void JSObject::ValidateElements() {
|
| }
|
|
|
|
|
| -bool JSObject::ShouldTrackAllocationInfo() {
|
| - if (AllocationSite::CanTrack(map()->instance_type())) {
|
| - if (!IsJSArray()) {
|
| - return true;
|
| - }
|
| -
|
| - return AllocationSite::GetMode(GetElementsKind()) ==
|
| - TRACK_ALLOCATION_SITE;
|
| - }
|
| - return false;
|
| -}
|
| -
|
| -
|
| void AllocationSite::Initialize() {
|
| set_transition_info(Smi::FromInt(0));
|
| SetElementsKind(GetInitialFastElementsKind());
|
|
|