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

Side by Side Diff: src/objects-inl.h

Issue 1160813009: Enum DictionaryEntryType removed. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing Created 5 years, 6 months 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 unified diff | Download patch
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-array.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Review notes: 5 // Review notes:
6 // 6 //
7 // - The use of macros in these inline functions may seem superfluous 7 // - The use of macros in these inline functions may seem superfluous
8 // but it is absolutely needed to make sure gcc generates optimal 8 // but it is absolutely needed to make sure gcc generates optimal
9 // code. gcc is not happy when attempting to inline too deep. 9 // code. gcc is not happy when attempting to inline too deep.
10 // 10 //
(...skipping 7192 matching lines...) Expand 10 before | Expand all | Expand 10 after
7203 return key; 7203 return key;
7204 } 7204 }
7205 7205
7206 7206
7207 Handle<FixedArray> NameDictionary::DoGenerateNewEnumerationIndices( 7207 Handle<FixedArray> NameDictionary::DoGenerateNewEnumerationIndices(
7208 Handle<NameDictionary> dictionary) { 7208 Handle<NameDictionary> dictionary) {
7209 return DerivedDictionary::GenerateNewEnumerationIndices(dictionary); 7209 return DerivedDictionary::GenerateNewEnumerationIndices(dictionary);
7210 } 7210 }
7211 7211
7212 7212
7213 template <typename Dictionary>
7214 bool GlobalDictionaryShape::IsDeleted(Dictionary* dict, int entry) {
7215 DCHECK(dict->ValueAt(entry)->IsPropertyCell());
7216 return PropertyCell::cast(dict->ValueAt(entry))->value()->IsTheHole();
7217 }
7218
7219
7213 bool ObjectHashTableShape::IsMatch(Handle<Object> key, Object* other) { 7220 bool ObjectHashTableShape::IsMatch(Handle<Object> key, Object* other) {
7214 return key->SameValue(other); 7221 return key->SameValue(other);
7215 } 7222 }
7216 7223
7217 7224
7218 uint32_t ObjectHashTableShape::Hash(Handle<Object> key) { 7225 uint32_t ObjectHashTableShape::Hash(Handle<Object> key) {
7219 return Smi::cast(key->GetHash())->value(); 7226 return Smi::cast(key->GetHash())->value();
7220 } 7227 }
7221 7228
7222 7229
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
7655 #undef READ_SHORT_FIELD 7662 #undef READ_SHORT_FIELD
7656 #undef WRITE_SHORT_FIELD 7663 #undef WRITE_SHORT_FIELD
7657 #undef READ_BYTE_FIELD 7664 #undef READ_BYTE_FIELD
7658 #undef WRITE_BYTE_FIELD 7665 #undef WRITE_BYTE_FIELD
7659 #undef NOBARRIER_READ_BYTE_FIELD 7666 #undef NOBARRIER_READ_BYTE_FIELD
7660 #undef NOBARRIER_WRITE_BYTE_FIELD 7667 #undef NOBARRIER_WRITE_BYTE_FIELD
7661 7668
7662 } } // namespace v8::internal 7669 } } // namespace v8::internal
7663 7670
7664 #endif // V8_OBJECTS_INL_H_ 7671 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698