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

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

Issue 2347933002: [modules] Introduce v8::Module to the API and return it from CompileModule (Closed)
Patch Set: Less maybe Created 4 years, 3 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-debug.cc ('k') | src/objects-printer.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 5683 matching lines...) Expand 10 before | Expand all | Expand 10 after
5694 ACCESSORS(PrototypeInfo, prototype_users, Object, kPrototypeUsersOffset) 5694 ACCESSORS(PrototypeInfo, prototype_users, Object, kPrototypeUsersOffset)
5695 ACCESSORS(PrototypeInfo, object_create_map, Object, kObjectCreateMap) 5695 ACCESSORS(PrototypeInfo, object_create_map, Object, kObjectCreateMap)
5696 SMI_ACCESSORS(PrototypeInfo, registry_slot, kRegistrySlotOffset) 5696 SMI_ACCESSORS(PrototypeInfo, registry_slot, kRegistrySlotOffset)
5697 ACCESSORS(PrototypeInfo, validity_cell, Object, kValidityCellOffset) 5697 ACCESSORS(PrototypeInfo, validity_cell, Object, kValidityCellOffset)
5698 SMI_ACCESSORS(PrototypeInfo, bit_field, kBitFieldOffset) 5698 SMI_ACCESSORS(PrototypeInfo, bit_field, kBitFieldOffset)
5699 BOOL_ACCESSORS(PrototypeInfo, bit_field, should_be_fast_map, kShouldBeFastBit) 5699 BOOL_ACCESSORS(PrototypeInfo, bit_field, should_be_fast_map, kShouldBeFastBit)
5700 5700
5701 ACCESSORS(ContextExtension, scope_info, ScopeInfo, kScopeInfoOffset) 5701 ACCESSORS(ContextExtension, scope_info, ScopeInfo, kScopeInfoOffset)
5702 ACCESSORS(ContextExtension, extension, Object, kExtensionOffset) 5702 ACCESSORS(ContextExtension, extension, Object, kExtensionOffset)
5703 5703
5704 ACCESSORS(Module, code, Object, kCodeOffset)
5704 ACCESSORS(Module, exports, ObjectHashTable, kExportsOffset) 5705 ACCESSORS(Module, exports, ObjectHashTable, kExportsOffset)
5705 5706
5706 ACCESSORS(AccessorPair, getter, Object, kGetterOffset) 5707 ACCESSORS(AccessorPair, getter, Object, kGetterOffset)
5707 ACCESSORS(AccessorPair, setter, Object, kSetterOffset) 5708 ACCESSORS(AccessorPair, setter, Object, kSetterOffset)
5708 5709
5709 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset) 5710 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset)
5710 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset) 5711 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset)
5711 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object, 5712 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object,
5712 kIndexedInterceptorOffset) 5713 kIndexedInterceptorOffset)
5713 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) 5714 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset)
(...skipping 2571 matching lines...) Expand 10 before | Expand all | Expand 10 after
8285 #undef WRITE_INT64_FIELD 8286 #undef WRITE_INT64_FIELD
8286 #undef READ_BYTE_FIELD 8287 #undef READ_BYTE_FIELD
8287 #undef WRITE_BYTE_FIELD 8288 #undef WRITE_BYTE_FIELD
8288 #undef NOBARRIER_READ_BYTE_FIELD 8289 #undef NOBARRIER_READ_BYTE_FIELD
8289 #undef NOBARRIER_WRITE_BYTE_FIELD 8290 #undef NOBARRIER_WRITE_BYTE_FIELD
8290 8291
8291 } // namespace internal 8292 } // namespace internal
8292 } // namespace v8 8293 } // namespace v8
8293 8294
8294 #endif // V8_OBJECTS_INL_H_ 8295 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects-debug.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698