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

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

Issue 2487053002: [promises] Remove one runtime call to create_resolving_functions (Closed)
Patch Set: add dcheck Created 4 years, 1 month 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 5680 matching lines...) Expand 10 before | Expand all | Expand 10 after
5691 ACCESSORS(AccessorInfo, data, Object, kDataOffset) 5691 ACCESSORS(AccessorInfo, data, Object, kDataOffset)
5692 5692
5693 ACCESSORS(Box, value, Object, kValueOffset) 5693 ACCESSORS(Box, value, Object, kValueOffset)
5694 5694
5695 ACCESSORS(PromiseResolveThenableJobInfo, thenable, JSReceiver, kThenableOffset) 5695 ACCESSORS(PromiseResolveThenableJobInfo, thenable, JSReceiver, kThenableOffset)
5696 ACCESSORS(PromiseResolveThenableJobInfo, then, JSReceiver, kThenOffset) 5696 ACCESSORS(PromiseResolveThenableJobInfo, then, JSReceiver, kThenOffset)
5697 ACCESSORS(PromiseResolveThenableJobInfo, resolve, JSFunction, kResolveOffset) 5697 ACCESSORS(PromiseResolveThenableJobInfo, resolve, JSFunction, kResolveOffset)
5698 ACCESSORS(PromiseResolveThenableJobInfo, reject, JSFunction, kRejectOffset) 5698 ACCESSORS(PromiseResolveThenableJobInfo, reject, JSFunction, kRejectOffset)
5699 ACCESSORS(PromiseResolveThenableJobInfo, debug_id, Object, kDebugIdOffset) 5699 ACCESSORS(PromiseResolveThenableJobInfo, debug_id, Object, kDebugIdOffset)
5700 ACCESSORS(PromiseResolveThenableJobInfo, debug_name, Object, kDebugNameOffset) 5700 ACCESSORS(PromiseResolveThenableJobInfo, debug_name, Object, kDebugNameOffset)
5701 ACCESSORS(PromiseResolveThenableJobInfo, context, Context, kContextOffset);
5701 5702
5702 ACCESSORS(PromiseReactionJobInfo, value, Object, kValueOffset); 5703 ACCESSORS(PromiseReactionJobInfo, value, Object, kValueOffset);
5703 ACCESSORS(PromiseReactionJobInfo, tasks, Object, kTasksOffset); 5704 ACCESSORS(PromiseReactionJobInfo, tasks, Object, kTasksOffset);
5704 ACCESSORS(PromiseReactionJobInfo, deferred, Object, kDeferredOffset); 5705 ACCESSORS(PromiseReactionJobInfo, deferred, Object, kDeferredOffset);
5705 ACCESSORS(PromiseReactionJobInfo, debug_id, Object, kDebugIdOffset); 5706 ACCESSORS(PromiseReactionJobInfo, debug_id, Object, kDebugIdOffset);
5706 ACCESSORS(PromiseReactionJobInfo, debug_name, Object, kDebugNameOffset); 5707 ACCESSORS(PromiseReactionJobInfo, debug_name, Object, kDebugNameOffset);
5707 ACCESSORS(PromiseReactionJobInfo, context, Context, kContextOffset); 5708 ACCESSORS(PromiseReactionJobInfo, context, Context, kContextOffset);
5708 5709
5709 Map* PrototypeInfo::ObjectCreateMap() { 5710 Map* PrototypeInfo::ObjectCreateMap() {
5710 return Map::cast(WeakCell::cast(object_create_map())->value()); 5711 return Map::cast(WeakCell::cast(object_create_map())->value());
(...skipping 2709 matching lines...) Expand 10 before | Expand all | Expand 10 after
8420 #undef WRITE_INT64_FIELD 8421 #undef WRITE_INT64_FIELD
8421 #undef READ_BYTE_FIELD 8422 #undef READ_BYTE_FIELD
8422 #undef WRITE_BYTE_FIELD 8423 #undef WRITE_BYTE_FIELD
8423 #undef NOBARRIER_READ_BYTE_FIELD 8424 #undef NOBARRIER_READ_BYTE_FIELD
8424 #undef NOBARRIER_WRITE_BYTE_FIELD 8425 #undef NOBARRIER_WRITE_BYTE_FIELD
8425 8426
8426 } // namespace internal 8427 } // namespace internal
8427 } // namespace v8 8428 } // namespace v8
8428 8429
8429 #endif // V8_OBJECTS_INL_H_ 8430 #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