| Index: src/type-feedback-vector.cc
|
| diff --git a/src/type-feedback-vector.cc b/src/type-feedback-vector.cc
|
| index 525a18e09497ab1ee70736f3774a4864367170b9..6e6714362e1e9b17660aeaf001058697325afcd2 100644
|
| --- a/src/type-feedback-vector.cc
|
| +++ b/src/type-feedback-vector.cc
|
| @@ -122,24 +122,6 @@ bool TypeFeedbackMetadata::SpecDiffersFrom(
|
| return false;
|
| }
|
|
|
| -bool TypeFeedbackMetadata::DiffersFrom(
|
| - const TypeFeedbackMetadata* other_metadata) const {
|
| - if (other_metadata->slot_count() != slot_count()) {
|
| - return true;
|
| - }
|
| -
|
| - int slots = slot_count();
|
| - for (int i = 0; i < slots;) {
|
| - FeedbackVectorSlot slot(i);
|
| - FeedbackVectorSlotKind kind = GetKind(slot);
|
| - int entry_size = TypeFeedbackMetadata::GetSlotSize(kind);
|
| - if (GetKind(slot) != other_metadata->GetKind(slot)) {
|
| - return true;
|
| - }
|
| - i += entry_size;
|
| - }
|
| - return false;
|
| -}
|
|
|
| const char* TypeFeedbackMetadata::Kind2String(FeedbackVectorSlotKind kind) {
|
| switch (kind) {
|
|
|