Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: src/type-feedback-vector.h

Issue 2557333002: [TypeFeedbackVector] Delete unused DummySlot. (Closed)
Patch Set: [TypeFeedbackVector] Delete unused constants. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/type-feedback-vector.h
diff --git a/src/type-feedback-vector.h b/src/type-feedback-vector.h
index 4b62ee86b6eafb69029e1cfbc7f300938f2b6f47..0c741a37bba9c17d65889f4d5459823ea3fba47a 100644
--- a/src/type-feedback-vector.h
+++ b/src/type-feedback-vector.h
@@ -156,10 +156,6 @@ class TypeFeedbackMetadata : public FixedArray {
static const int kSlotsCountIndex = 0;
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.
static inline int GetSlotSize(FeedbackVectorSlotKind kind);
@@ -283,10 +279,6 @@ class TypeFeedbackVector : public FixedArray {
static const int kDummyKeyedStoreICSlot = 6;
static Handle<TypeFeedbackVector> DummyVector(Isolate* isolate);
- static FeedbackVectorSlot DummySlot(int dummyIndex) {
- DCHECK(dummyIndex >= 0 && dummyIndex <= kDummyKeyedStoreICSlot);
- return FeedbackVectorSlot(dummyIndex);
- }
private:
void ClearSlotsImpl(SharedFunctionInfo* shared, bool force_clear);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698