Index: src/type-feedback-vector-inl.h |
diff --git a/src/type-feedback-vector-inl.h b/src/type-feedback-vector-inl.h |
index 5e73ba10b6bea9bc8266a49988c67b976df95247..202bd30587ca7bd8b67c339366f9b2b1e8e3fe4d 100644 |
--- a/src/type-feedback-vector-inl.h |
+++ b/src/type-feedback-vector-inl.h |
@@ -62,29 +62,6 @@ int TypeFeedbackMetadata::GetSlotSize(FeedbackVectorSlotKind kind) { |
return 2; |
} |
-bool TypeFeedbackMetadata::SlotRequiresName(FeedbackVectorSlotKind kind) { |
- switch (kind) { |
- case FeedbackVectorSlotKind::LOAD_GLOBAL_IC: |
- return true; |
- |
- case FeedbackVectorSlotKind::CALL_IC: |
- case FeedbackVectorSlotKind::LOAD_IC: |
- case FeedbackVectorSlotKind::KEYED_LOAD_IC: |
- case FeedbackVectorSlotKind::STORE_IC: |
- case FeedbackVectorSlotKind::KEYED_STORE_IC: |
- case FeedbackVectorSlotKind::INTERPRETER_BINARYOP_IC: |
- case FeedbackVectorSlotKind::INTERPRETER_COMPARE_IC: |
- case FeedbackVectorSlotKind::GENERAL: |
- case FeedbackVectorSlotKind::INVALID: |
- return false; |
- |
- case FeedbackVectorSlotKind::KINDS_NUMBER: |
- break; |
- } |
- UNREACHABLE(); |
- return false; |
-} |
- |
bool TypeFeedbackVector::is_empty() const { |
return length() == kReservedIndexCount; |
} |