Index: src/type-feedback-vector-inl.h |
diff --git a/src/type-feedback-vector-inl.h b/src/type-feedback-vector-inl.h |
index 56ae4ef1ca07fb33ba68068f0c56edc0a22c7732..80b6d82b8d61dd52ece7de28281b94b1e0ec2f2a 100644 |
--- a/src/type-feedback-vector-inl.h |
+++ b/src/type-feedback-vector-inl.h |
@@ -63,31 +63,6 @@ int TypeFeedbackMetadata::GetSlotSize(FeedbackVectorSlotKind kind) { |
return 2; |
} |
-bool TypeFeedbackMetadata::SlotRequiresParameter(FeedbackVectorSlotKind kind) { |
- switch (kind) { |
- case FeedbackVectorSlotKind::CREATE_CLOSURE: |
- return true; |
- |
- case FeedbackVectorSlotKind::CALL_IC: |
- case FeedbackVectorSlotKind::LOAD_IC: |
- case FeedbackVectorSlotKind::LOAD_GLOBAL_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::STORE_DATA_PROPERTY_IN_LITERAL_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; |
} |