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

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

Issue 2419513002: [ic] Support data handlers that represent loads from prototypes. (Closed)
Patch Set: Created 4 years, 2 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
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 5691 matching lines...) Expand 10 before | Expand all | Expand 10 after
5702 return nullptr; 5702 return nullptr;
5703 } 5703 }
5704 5704
5705 ACCESSORS(PrototypeInfo, prototype_users, Object, kPrototypeUsersOffset) 5705 ACCESSORS(PrototypeInfo, prototype_users, Object, kPrototypeUsersOffset)
5706 ACCESSORS(PrototypeInfo, object_create_map, Object, kObjectCreateMap) 5706 ACCESSORS(PrototypeInfo, object_create_map, Object, kObjectCreateMap)
5707 SMI_ACCESSORS(PrototypeInfo, registry_slot, kRegistrySlotOffset) 5707 SMI_ACCESSORS(PrototypeInfo, registry_slot, kRegistrySlotOffset)
5708 ACCESSORS(PrototypeInfo, validity_cell, Object, kValidityCellOffset) 5708 ACCESSORS(PrototypeInfo, validity_cell, Object, kValidityCellOffset)
5709 SMI_ACCESSORS(PrototypeInfo, bit_field, kBitFieldOffset) 5709 SMI_ACCESSORS(PrototypeInfo, bit_field, kBitFieldOffset)
5710 BOOL_ACCESSORS(PrototypeInfo, bit_field, should_be_fast_map, kShouldBeFastBit) 5710 BOOL_ACCESSORS(PrototypeInfo, bit_field, should_be_fast_map, kShouldBeFastBit)
5711 5711
5712 ACCESSORS(Tuple3, value1, Object, kValue1Offset)
5713 ACCESSORS(Tuple3, value2, Object, kValue2Offset)
5714 ACCESSORS(Tuple3, value3, Object, kValue3Offset)
5715
5712 ACCESSORS(ContextExtension, scope_info, ScopeInfo, kScopeInfoOffset) 5716 ACCESSORS(ContextExtension, scope_info, ScopeInfo, kScopeInfoOffset)
5713 ACCESSORS(ContextExtension, extension, Object, kExtensionOffset) 5717 ACCESSORS(ContextExtension, extension, Object, kExtensionOffset)
5714 5718
5715 ACCESSORS(JSModuleNamespace, module, Module, kModuleOffset) 5719 ACCESSORS(JSModuleNamespace, module, Module, kModuleOffset)
5716 5720
5717 ACCESSORS(Module, code, Object, kCodeOffset) 5721 ACCESSORS(Module, code, Object, kCodeOffset)
5718 ACCESSORS(Module, exports, ObjectHashTable, kExportsOffset) 5722 ACCESSORS(Module, exports, ObjectHashTable, kExportsOffset)
5719 ACCESSORS(Module, module_namespace, HeapObject, kModuleNamespaceOffset) 5723 ACCESSORS(Module, module_namespace, HeapObject, kModuleNamespaceOffset)
5720 ACCESSORS(Module, requested_modules, FixedArray, kRequestedModulesOffset) 5724 ACCESSORS(Module, requested_modules, FixedArray, kRequestedModulesOffset)
5721 SMI_ACCESSORS(Module, flags, kFlagsOffset) 5725 SMI_ACCESSORS(Module, flags, kFlagsOffset)
(...skipping 2608 matching lines...) Expand 10 before | Expand all | Expand 10 after
8330 #undef WRITE_INT64_FIELD 8334 #undef WRITE_INT64_FIELD
8331 #undef READ_BYTE_FIELD 8335 #undef READ_BYTE_FIELD
8332 #undef WRITE_BYTE_FIELD 8336 #undef WRITE_BYTE_FIELD
8333 #undef NOBARRIER_READ_BYTE_FIELD 8337 #undef NOBARRIER_READ_BYTE_FIELD
8334 #undef NOBARRIER_WRITE_BYTE_FIELD 8338 #undef NOBARRIER_WRITE_BYTE_FIELD
8335 8339
8336 } // namespace internal 8340 } // namespace internal
8337 } // namespace v8 8341 } // namespace v8
8338 8342
8339 #endif // V8_OBJECTS_INL_H_ 8343 #endif // V8_OBJECTS_INL_H_
OLDNEW
« src/objects.h ('K') | « src/objects-debug.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698