OLD | NEW |
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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 return static_cast<const uc16*>(start_)[index]; | 472 return static_cast<const uc16*>(start_)[index]; |
473 } | 473 } |
474 } | 474 } |
475 | 475 |
476 | 476 |
477 Handle<Object> StringTableShape::AsHandle(Isolate* isolate, HashTableKey* key) { | 477 Handle<Object> StringTableShape::AsHandle(Isolate* isolate, HashTableKey* key) { |
478 return key->AsHandle(isolate); | 478 return key->AsHandle(isolate); |
479 } | 479 } |
480 | 480 |
481 | 481 |
482 Handle<Object> MapCacheShape::AsHandle(Isolate* isolate, HashTableKey* key) { | |
483 return key->AsHandle(isolate); | |
484 } | |
485 | |
486 | |
487 Handle<Object> CompilationCacheShape::AsHandle(Isolate* isolate, | 482 Handle<Object> CompilationCacheShape::AsHandle(Isolate* isolate, |
488 HashTableKey* key) { | 483 HashTableKey* key) { |
489 return key->AsHandle(isolate); | 484 return key->AsHandle(isolate); |
490 } | 485 } |
491 | 486 |
492 | 487 |
493 Handle<Object> CodeCacheHashTableShape::AsHandle(Isolate* isolate, | 488 Handle<Object> CodeCacheHashTableShape::AsHandle(Isolate* isolate, |
494 HashTableKey* key) { | 489 HashTableKey* key) { |
495 return key->AsHandle(isolate); | 490 return key->AsHandle(isolate); |
496 } | 491 } |
(...skipping 2784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3281 CAST_ACCESSOR(JSProxy) | 3276 CAST_ACCESSOR(JSProxy) |
3282 CAST_ACCESSOR(JSReceiver) | 3277 CAST_ACCESSOR(JSReceiver) |
3283 CAST_ACCESSOR(JSRegExp) | 3278 CAST_ACCESSOR(JSRegExp) |
3284 CAST_ACCESSOR(JSSet) | 3279 CAST_ACCESSOR(JSSet) |
3285 CAST_ACCESSOR(JSSetIterator) | 3280 CAST_ACCESSOR(JSSetIterator) |
3286 CAST_ACCESSOR(JSTypedArray) | 3281 CAST_ACCESSOR(JSTypedArray) |
3287 CAST_ACCESSOR(JSValue) | 3282 CAST_ACCESSOR(JSValue) |
3288 CAST_ACCESSOR(JSWeakMap) | 3283 CAST_ACCESSOR(JSWeakMap) |
3289 CAST_ACCESSOR(JSWeakSet) | 3284 CAST_ACCESSOR(JSWeakSet) |
3290 CAST_ACCESSOR(Map) | 3285 CAST_ACCESSOR(Map) |
3291 CAST_ACCESSOR(MapCache) | |
3292 CAST_ACCESSOR(Name) | 3286 CAST_ACCESSOR(Name) |
3293 CAST_ACCESSOR(NameDictionary) | 3287 CAST_ACCESSOR(NameDictionary) |
3294 CAST_ACCESSOR(NormalizedMapCache) | 3288 CAST_ACCESSOR(NormalizedMapCache) |
3295 CAST_ACCESSOR(Object) | 3289 CAST_ACCESSOR(Object) |
3296 CAST_ACCESSOR(ObjectHashTable) | 3290 CAST_ACCESSOR(ObjectHashTable) |
3297 CAST_ACCESSOR(Oddball) | 3291 CAST_ACCESSOR(Oddball) |
3298 CAST_ACCESSOR(OrderedHashMap) | 3292 CAST_ACCESSOR(OrderedHashMap) |
3299 CAST_ACCESSOR(OrderedHashSet) | 3293 CAST_ACCESSOR(OrderedHashSet) |
3300 CAST_ACCESSOR(PolymorphicCodeCacheHashTable) | 3294 CAST_ACCESSOR(PolymorphicCodeCacheHashTable) |
3301 CAST_ACCESSOR(PropertyCell) | 3295 CAST_ACCESSOR(PropertyCell) |
(...skipping 4054 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7356 #undef READ_SHORT_FIELD | 7350 #undef READ_SHORT_FIELD |
7357 #undef WRITE_SHORT_FIELD | 7351 #undef WRITE_SHORT_FIELD |
7358 #undef READ_BYTE_FIELD | 7352 #undef READ_BYTE_FIELD |
7359 #undef WRITE_BYTE_FIELD | 7353 #undef WRITE_BYTE_FIELD |
7360 #undef NOBARRIER_READ_BYTE_FIELD | 7354 #undef NOBARRIER_READ_BYTE_FIELD |
7361 #undef NOBARRIER_WRITE_BYTE_FIELD | 7355 #undef NOBARRIER_WRITE_BYTE_FIELD |
7362 | 7356 |
7363 } } // namespace v8::internal | 7357 } } // namespace v8::internal |
7364 | 7358 |
7365 #endif // V8_OBJECTS_INL_H_ | 7359 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |