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

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

Issue 2650803003: [inspector] change target promise for kDebugWillHandle & kDebugDidHandle (Closed)
Patch Set: added missing guard in asyncTaskCreated 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
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 5723 matching lines...) Expand 10 before | Expand all | Expand 10 after
5734 ACCESSORS(AccessorInfo, setter, Object, kSetterOffset) 5734 ACCESSORS(AccessorInfo, setter, Object, kSetterOffset)
5735 ACCESSORS(AccessorInfo, js_getter, Object, kJsGetterOffset) 5735 ACCESSORS(AccessorInfo, js_getter, Object, kJsGetterOffset)
5736 ACCESSORS(AccessorInfo, data, Object, kDataOffset) 5736 ACCESSORS(AccessorInfo, data, Object, kDataOffset)
5737 5737
5738 ACCESSORS(Box, value, Object, kValueOffset) 5738 ACCESSORS(Box, value, Object, kValueOffset)
5739 5739
5740 ACCESSORS(PromiseResolveThenableJobInfo, thenable, JSReceiver, kThenableOffset) 5740 ACCESSORS(PromiseResolveThenableJobInfo, thenable, JSReceiver, kThenableOffset)
5741 ACCESSORS(PromiseResolveThenableJobInfo, then, JSReceiver, kThenOffset) 5741 ACCESSORS(PromiseResolveThenableJobInfo, then, JSReceiver, kThenOffset)
5742 ACCESSORS(PromiseResolveThenableJobInfo, resolve, JSFunction, kResolveOffset) 5742 ACCESSORS(PromiseResolveThenableJobInfo, resolve, JSFunction, kResolveOffset)
5743 ACCESSORS(PromiseResolveThenableJobInfo, reject, JSFunction, kRejectOffset) 5743 ACCESSORS(PromiseResolveThenableJobInfo, reject, JSFunction, kRejectOffset)
5744 SMI_ACCESSORS(PromiseResolveThenableJobInfo, debug_id, kDebugIdOffset)
5745 ACCESSORS(PromiseResolveThenableJobInfo, context, Context, kContextOffset); 5744 ACCESSORS(PromiseResolveThenableJobInfo, context, Context, kContextOffset);
5746 5745
5747 ACCESSORS(PromiseReactionJobInfo, value, Object, kValueOffset); 5746 ACCESSORS(PromiseReactionJobInfo, value, Object, kValueOffset);
5748 ACCESSORS(PromiseReactionJobInfo, tasks, Object, kTasksOffset); 5747 ACCESSORS(PromiseReactionJobInfo, tasks, Object, kTasksOffset);
5749 ACCESSORS(PromiseReactionJobInfo, deferred_promise, Object, 5748 ACCESSORS(PromiseReactionJobInfo, deferred_promise, Object,
5750 kDeferredPromiseOffset); 5749 kDeferredPromiseOffset);
5751 ACCESSORS(PromiseReactionJobInfo, deferred_on_resolve, Object, 5750 ACCESSORS(PromiseReactionJobInfo, deferred_on_resolve, Object,
5752 kDeferredOnResolveOffset); 5751 kDeferredOnResolveOffset);
5753 ACCESSORS(PromiseReactionJobInfo, deferred_on_reject, Object, 5752 ACCESSORS(PromiseReactionJobInfo, deferred_on_reject, Object,
5754 kDeferredOnRejectOffset); 5753 kDeferredOnRejectOffset);
5755 SMI_ACCESSORS(PromiseReactionJobInfo, debug_id, kDebugIdOffset);
5756 ACCESSORS(PromiseReactionJobInfo, context, Context, kContextOffset); 5754 ACCESSORS(PromiseReactionJobInfo, context, Context, kContextOffset);
5757 5755
5758 Map* PrototypeInfo::ObjectCreateMap() { 5756 Map* PrototypeInfo::ObjectCreateMap() {
5759 return Map::cast(WeakCell::cast(object_create_map())->value()); 5757 return Map::cast(WeakCell::cast(object_create_map())->value());
5760 } 5758 }
5761 5759
5762 // static 5760 // static
5763 void PrototypeInfo::SetObjectCreateMap(Handle<PrototypeInfo> info, 5761 void PrototypeInfo::SetObjectCreateMap(Handle<PrototypeInfo> info,
5764 Handle<Map> map) { 5762 Handle<Map> map) {
5765 Handle<WeakCell> cell = Map::WeakCellForMap(map); 5763 Handle<WeakCell> cell = Map::WeakCellForMap(map);
(...skipping 2680 matching lines...) Expand 10 before | Expand all | Expand 10 after
8446 #undef WRITE_INT64_FIELD 8444 #undef WRITE_INT64_FIELD
8447 #undef READ_BYTE_FIELD 8445 #undef READ_BYTE_FIELD
8448 #undef WRITE_BYTE_FIELD 8446 #undef WRITE_BYTE_FIELD
8449 #undef NOBARRIER_READ_BYTE_FIELD 8447 #undef NOBARRIER_READ_BYTE_FIELD
8450 #undef NOBARRIER_WRITE_BYTE_FIELD 8448 #undef NOBARRIER_WRITE_BYTE_FIELD
8451 8449
8452 } // namespace internal 8450 } // namespace internal
8453 } // namespace v8 8451 } // namespace v8
8454 8452
8455 #endif // V8_OBJECTS_INL_H_ 8453 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects-debug.cc ('k') | src/objects-printer.cc » ('j') | src/runtime/runtime-promise.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698