[dictionary] drop unnecessary constants
Bug: Change-Id: Ice0781822308ba44934abbe5802585a70e744eb0 Reviewed-on: https://chromium-review.googlesource.com/544994 Commit-Queue: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/master@{#46180}
This commit is contained in:
parent
8cd842bf91
commit
efcdc59c1e
@ -125,7 +125,6 @@ class NameDictionaryShape : public BaseDictionaryShape<Handle<Name>> {
|
||||
static const int kPrefixSize = 1;
|
||||
static const int kEntrySize = 3;
|
||||
static const int kEntryValueIndex = 1;
|
||||
static const int kEntryDetailsIndex = 2;
|
||||
static const bool kNeedsHoleCheck = false;
|
||||
};
|
||||
|
||||
@ -203,8 +202,6 @@ class GlobalDictionary
|
||||
: public BaseNameDictionary<GlobalDictionary, GlobalDictionaryShape> {
|
||||
public:
|
||||
DECLARE_CAST(GlobalDictionary)
|
||||
|
||||
static const int kEntryValueIndex = 1;
|
||||
};
|
||||
|
||||
class NumberDictionaryShape : public BaseDictionaryShape<uint32_t> {
|
||||
@ -310,7 +307,6 @@ class UnseededNumberDictionary
|
||||
Handle<Object> value);
|
||||
|
||||
static const int kEntryValueIndex = 1;
|
||||
static const int kEntryDetailsIndex = 2;
|
||||
};
|
||||
|
||||
} // namespace internal
|
||||
|
Loading…
Reference in New Issue
Block a user