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

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

Issue 2628173005: [inspector] merged type and name of async task event (Closed)
Patch Set: addressed comments Created 3 years, 11 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 5685 matching lines...) Expand 10 before | Expand all | Expand 10 after
5696 ACCESSORS(AccessorInfo, js_getter, Object, kJsGetterOffset) 5696 ACCESSORS(AccessorInfo, js_getter, Object, kJsGetterOffset)
5697 ACCESSORS(AccessorInfo, data, Object, kDataOffset) 5697 ACCESSORS(AccessorInfo, data, Object, kDataOffset)
5698 5698
5699 ACCESSORS(Box, value, Object, kValueOffset) 5699 ACCESSORS(Box, value, Object, kValueOffset)
5700 5700
5701 ACCESSORS(PromiseResolveThenableJobInfo, thenable, JSReceiver, kThenableOffset) 5701 ACCESSORS(PromiseResolveThenableJobInfo, thenable, JSReceiver, kThenableOffset)
5702 ACCESSORS(PromiseResolveThenableJobInfo, then, JSReceiver, kThenOffset) 5702 ACCESSORS(PromiseResolveThenableJobInfo, then, JSReceiver, kThenOffset)
5703 ACCESSORS(PromiseResolveThenableJobInfo, resolve, JSFunction, kResolveOffset) 5703 ACCESSORS(PromiseResolveThenableJobInfo, resolve, JSFunction, kResolveOffset)
5704 ACCESSORS(PromiseResolveThenableJobInfo, reject, JSFunction, kRejectOffset) 5704 ACCESSORS(PromiseResolveThenableJobInfo, reject, JSFunction, kRejectOffset)
5705 SMI_ACCESSORS(PromiseResolveThenableJobInfo, debug_id, kDebugIdOffset) 5705 SMI_ACCESSORS(PromiseResolveThenableJobInfo, debug_id, kDebugIdOffset)
5706 SMI_ACCESSORS(PromiseResolveThenableJobInfo, debug_name, kDebugNameOffset)
5707 ACCESSORS(PromiseResolveThenableJobInfo, context, Context, kContextOffset); 5706 ACCESSORS(PromiseResolveThenableJobInfo, context, Context, kContextOffset);
5708 5707
5709 ACCESSORS(PromiseReactionJobInfo, value, Object, kValueOffset); 5708 ACCESSORS(PromiseReactionJobInfo, value, Object, kValueOffset);
5710 ACCESSORS(PromiseReactionJobInfo, tasks, Object, kTasksOffset); 5709 ACCESSORS(PromiseReactionJobInfo, tasks, Object, kTasksOffset);
5711 ACCESSORS(PromiseReactionJobInfo, deferred_promise, Object, 5710 ACCESSORS(PromiseReactionJobInfo, deferred_promise, Object,
5712 kDeferredPromiseOffset); 5711 kDeferredPromiseOffset);
5713 ACCESSORS(PromiseReactionJobInfo, deferred_on_resolve, Object, 5712 ACCESSORS(PromiseReactionJobInfo, deferred_on_resolve, Object,
5714 kDeferredOnResolveOffset); 5713 kDeferredOnResolveOffset);
5715 ACCESSORS(PromiseReactionJobInfo, deferred_on_reject, Object, 5714 ACCESSORS(PromiseReactionJobInfo, deferred_on_reject, Object,
5716 kDeferredOnRejectOffset); 5715 kDeferredOnRejectOffset);
5717 SMI_ACCESSORS(PromiseReactionJobInfo, debug_id, kDebugIdOffset); 5716 SMI_ACCESSORS(PromiseReactionJobInfo, debug_id, kDebugIdOffset);
5718 SMI_ACCESSORS(PromiseReactionJobInfo, debug_name, kDebugNameOffset);
5719 ACCESSORS(PromiseReactionJobInfo, context, Context, kContextOffset); 5717 ACCESSORS(PromiseReactionJobInfo, context, Context, kContextOffset);
5720 5718
5721 Map* PrototypeInfo::ObjectCreateMap() { 5719 Map* PrototypeInfo::ObjectCreateMap() {
5722 return Map::cast(WeakCell::cast(object_create_map())->value()); 5720 return Map::cast(WeakCell::cast(object_create_map())->value());
5723 } 5721 }
5724 5722
5725 // static 5723 // static
5726 void PrototypeInfo::SetObjectCreateMap(Handle<PrototypeInfo> info, 5724 void PrototypeInfo::SetObjectCreateMap(Handle<PrototypeInfo> info,
5727 Handle<Map> map) { 5725 Handle<Map> map) {
5728 Handle<WeakCell> cell = Map::WeakCellForMap(map); 5726 Handle<WeakCell> cell = Map::WeakCellForMap(map);
(...skipping 2682 matching lines...) Expand 10 before | Expand all | Expand 10 after
8411 #undef WRITE_INT64_FIELD 8409 #undef WRITE_INT64_FIELD
8412 #undef READ_BYTE_FIELD 8410 #undef READ_BYTE_FIELD
8413 #undef WRITE_BYTE_FIELD 8411 #undef WRITE_BYTE_FIELD
8414 #undef NOBARRIER_READ_BYTE_FIELD 8412 #undef NOBARRIER_READ_BYTE_FIELD
8415 #undef NOBARRIER_WRITE_BYTE_FIELD 8413 #undef NOBARRIER_WRITE_BYTE_FIELD
8416 8414
8417 } // namespace internal 8415 } // namespace internal
8418 } // namespace v8 8416 } // namespace v8
8419 8417
8420 #endif // V8_OBJECTS_INL_H_ 8418 #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