OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 6661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6672 } | 6672 } |
6673 | 6673 |
6674 | 6674 |
6675 Handle<Object> NameDictionaryShape::AsHandle(Isolate* isolate, Name* key) { | 6675 Handle<Object> NameDictionaryShape::AsHandle(Isolate* isolate, Name* key) { |
6676 ASSERT(key->IsUniqueName()); | 6676 ASSERT(key->IsUniqueName()); |
6677 // TODO(ishell): Convert Name* to Handle<Name> to avoid re-wrapping here. | 6677 // TODO(ishell): Convert Name* to Handle<Name> to avoid re-wrapping here. |
6678 return handle(key, isolate); | 6678 return handle(key, isolate); |
6679 } | 6679 } |
6680 | 6680 |
6681 | 6681 |
| 6682 void NameDictionary::DoGenerateNewEnumerationIndices( |
| 6683 Handle<NameDictionary> dictionary) { |
| 6684 DerivedDictionary::GenerateNewEnumerationIndices(dictionary); |
| 6685 } |
| 6686 |
| 6687 |
6682 bool ObjectHashTableShape::IsMatch(Object* key, Object* other) { | 6688 bool ObjectHashTableShape::IsMatch(Object* key, Object* other) { |
6683 return key->SameValue(other); | 6689 return key->SameValue(other); |
6684 } | 6690 } |
6685 | 6691 |
6686 | 6692 |
6687 uint32_t ObjectHashTableShape::Hash(Object* key) { | 6693 uint32_t ObjectHashTableShape::Hash(Object* key) { |
6688 return Smi::cast(key->GetHash())->value(); | 6694 return Smi::cast(key->GetHash())->value(); |
6689 } | 6695 } |
6690 | 6696 |
6691 | 6697 |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7021 #undef READ_SHORT_FIELD | 7027 #undef READ_SHORT_FIELD |
7022 #undef WRITE_SHORT_FIELD | 7028 #undef WRITE_SHORT_FIELD |
7023 #undef READ_BYTE_FIELD | 7029 #undef READ_BYTE_FIELD |
7024 #undef WRITE_BYTE_FIELD | 7030 #undef WRITE_BYTE_FIELD |
7025 #undef NOBARRIER_READ_BYTE_FIELD | 7031 #undef NOBARRIER_READ_BYTE_FIELD |
7026 #undef NOBARRIER_WRITE_BYTE_FIELD | 7032 #undef NOBARRIER_WRITE_BYTE_FIELD |
7027 | 7033 |
7028 } } // namespace v8::internal | 7034 } } // namespace v8::internal |
7029 | 7035 |
7030 #endif // V8_OBJECTS_INL_H_ | 7036 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |