OLD | NEW |
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 5728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5739 ACCESSORS(Box, value, Object, kValueOffset) | 5739 ACCESSORS(Box, value, Object, kValueOffset) |
5740 | 5740 |
5741 ACCESSORS(PromiseResolveThenableJobInfo, thenable, JSReceiver, kThenableOffset) | 5741 ACCESSORS(PromiseResolveThenableJobInfo, thenable, JSReceiver, kThenableOffset) |
5742 ACCESSORS(PromiseResolveThenableJobInfo, then, JSReceiver, kThenOffset) | 5742 ACCESSORS(PromiseResolveThenableJobInfo, then, JSReceiver, kThenOffset) |
5743 ACCESSORS(PromiseResolveThenableJobInfo, resolve, JSFunction, kResolveOffset) | 5743 ACCESSORS(PromiseResolveThenableJobInfo, resolve, JSFunction, kResolveOffset) |
5744 ACCESSORS(PromiseResolveThenableJobInfo, reject, JSFunction, kRejectOffset) | 5744 ACCESSORS(PromiseResolveThenableJobInfo, reject, JSFunction, kRejectOffset) |
5745 ACCESSORS(PromiseResolveThenableJobInfo, debug_id, Object, kDebugIdOffset) | 5745 ACCESSORS(PromiseResolveThenableJobInfo, debug_id, Object, kDebugIdOffset) |
5746 ACCESSORS(PromiseResolveThenableJobInfo, debug_name, Object, kDebugNameOffset) | 5746 ACCESSORS(PromiseResolveThenableJobInfo, debug_name, Object, kDebugNameOffset) |
5747 ACCESSORS(PromiseResolveThenableJobInfo, context, Context, kContextOffset); | 5747 ACCESSORS(PromiseResolveThenableJobInfo, context, Context, kContextOffset); |
5748 | 5748 |
| 5749 ACCESSORS(PromiseReactionJobInfo, promise, JSPromise, kPromiseOffset); |
5749 ACCESSORS(PromiseReactionJobInfo, value, Object, kValueOffset); | 5750 ACCESSORS(PromiseReactionJobInfo, value, Object, kValueOffset); |
5750 ACCESSORS(PromiseReactionJobInfo, tasks, Object, kTasksOffset); | 5751 ACCESSORS(PromiseReactionJobInfo, tasks, Object, kTasksOffset); |
5751 ACCESSORS(PromiseReactionJobInfo, deferred, Object, kDeferredOffset); | 5752 ACCESSORS(PromiseReactionJobInfo, deferred, Object, kDeferredOffset); |
5752 ACCESSORS(PromiseReactionJobInfo, debug_id, Object, kDebugIdOffset); | 5753 ACCESSORS(PromiseReactionJobInfo, debug_id, Object, kDebugIdOffset); |
5753 ACCESSORS(PromiseReactionJobInfo, debug_name, Object, kDebugNameOffset); | 5754 ACCESSORS(PromiseReactionJobInfo, debug_name, Object, kDebugNameOffset); |
5754 ACCESSORS(PromiseReactionJobInfo, context, Context, kContextOffset); | 5755 ACCESSORS(PromiseReactionJobInfo, context, Context, kContextOffset); |
5755 | 5756 |
5756 Map* PrototypeInfo::ObjectCreateMap() { | 5757 Map* PrototypeInfo::ObjectCreateMap() { |
5757 return Map::cast(WeakCell::cast(object_create_map())->value()); | 5758 return Map::cast(WeakCell::cast(object_create_map())->value()); |
5758 } | 5759 } |
(...skipping 2726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8485 #undef WRITE_INT64_FIELD | 8486 #undef WRITE_INT64_FIELD |
8486 #undef READ_BYTE_FIELD | 8487 #undef READ_BYTE_FIELD |
8487 #undef WRITE_BYTE_FIELD | 8488 #undef WRITE_BYTE_FIELD |
8488 #undef NOBARRIER_READ_BYTE_FIELD | 8489 #undef NOBARRIER_READ_BYTE_FIELD |
8489 #undef NOBARRIER_WRITE_BYTE_FIELD | 8490 #undef NOBARRIER_WRITE_BYTE_FIELD |
8490 | 8491 |
8491 } // namespace internal | 8492 } // namespace internal |
8492 } // namespace v8 | 8493 } // namespace v8 |
8493 | 8494 |
8494 #endif // V8_OBJECTS_INL_H_ | 8495 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |