Commit 987f6386 authored by franzih's avatar franzih Committed by Commit bot

[TypeFeedbackVector] Delete unused DummySlot.

BUG=

Review-Url: https://codereview.chromium.org/2557333002
Cr-Commit-Position: refs/heads/master@{#41598}
parent f36497d2
...@@ -156,10 +156,6 @@ class TypeFeedbackMetadata : public FixedArray { ...@@ -156,10 +156,6 @@ class TypeFeedbackMetadata : public FixedArray {
static const int kSlotsCountIndex = 0; static const int kSlotsCountIndex = 0;
static const int kReservedIndexCount = 1; static const int kReservedIndexCount = 1;
static const int kNameTableEntrySize = 2;
static const int kNameTableSlotIndex = 0;
static const int kNameTableNameIndex = 1;
// Returns number of feedback vector elements used by given slot kind. // Returns number of feedback vector elements used by given slot kind.
static inline int GetSlotSize(FeedbackVectorSlotKind kind); static inline int GetSlotSize(FeedbackVectorSlotKind kind);
...@@ -283,10 +279,6 @@ class TypeFeedbackVector : public FixedArray { ...@@ -283,10 +279,6 @@ class TypeFeedbackVector : public FixedArray {
static const int kDummyKeyedStoreICSlot = 6; static const int kDummyKeyedStoreICSlot = 6;
static Handle<TypeFeedbackVector> DummyVector(Isolate* isolate); static Handle<TypeFeedbackVector> DummyVector(Isolate* isolate);
static FeedbackVectorSlot DummySlot(int dummyIndex) {
DCHECK(dummyIndex >= 0 && dummyIndex <= kDummyKeyedStoreICSlot);
return FeedbackVectorSlot(dummyIndex);
}
private: private:
void ClearSlotsImpl(SharedFunctionInfo* shared, bool force_clear); void ClearSlotsImpl(SharedFunctionInfo* shared, bool force_clear);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment