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 5636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5647 ACCESSORS(AccessorInfo, expected_receiver_type, Object, | 5647 ACCESSORS(AccessorInfo, expected_receiver_type, Object, |
5648 kExpectedReceiverTypeOffset) | 5648 kExpectedReceiverTypeOffset) |
5649 | 5649 |
5650 ACCESSORS(AccessorInfo, getter, Object, kGetterOffset) | 5650 ACCESSORS(AccessorInfo, getter, Object, kGetterOffset) |
5651 ACCESSORS(AccessorInfo, setter, Object, kSetterOffset) | 5651 ACCESSORS(AccessorInfo, setter, Object, kSetterOffset) |
5652 ACCESSORS(AccessorInfo, js_getter, Object, kJsGetterOffset) | 5652 ACCESSORS(AccessorInfo, js_getter, Object, kJsGetterOffset) |
5653 ACCESSORS(AccessorInfo, data, Object, kDataOffset) | 5653 ACCESSORS(AccessorInfo, data, Object, kDataOffset) |
5654 | 5654 |
5655 ACCESSORS(Box, value, Object, kValueOffset) | 5655 ACCESSORS(Box, value, Object, kValueOffset) |
5656 | 5656 |
5657 ACCESSORS(PromiseContainer, thenable, JSReceiver, kThenableOffset) | 5657 ACCESSORS(PromiseResolveThenableJobInfo, thenable, JSReceiver, kThenableOffset) |
5658 ACCESSORS(PromiseContainer, then, JSReceiver, kThenOffset) | 5658 ACCESSORS(PromiseResolveThenableJobInfo, then, JSReceiver, kThenOffset) |
5659 ACCESSORS(PromiseContainer, resolve, JSFunction, kResolveOffset) | 5659 ACCESSORS(PromiseResolveThenableJobInfo, resolve, JSFunction, kResolveOffset) |
5660 ACCESSORS(PromiseContainer, reject, JSFunction, kRejectOffset) | 5660 ACCESSORS(PromiseResolveThenableJobInfo, reject, JSFunction, kRejectOffset) |
5661 ACCESSORS(PromiseContainer, before_debug_event, Object, kBeforeDebugEventOffset) | 5661 ACCESSORS(PromiseResolveThenableJobInfo, before_debug_event, Object, |
5662 ACCESSORS(PromiseContainer, after_debug_event, Object, kAfterDebugEventOffset) | 5662 kBeforeDebugEventOffset) |
| 5663 ACCESSORS(PromiseResolveThenableJobInfo, after_debug_event, Object, |
| 5664 kAfterDebugEventOffset) |
5663 | 5665 |
5664 ACCESSORS(PromiseReactionJobInfo, value, Object, kValueOffset); | 5666 ACCESSORS(PromiseReactionJobInfo, value, Object, kValueOffset); |
5665 ACCESSORS(PromiseReactionJobInfo, tasks, Object, kTasksOffset); | 5667 ACCESSORS(PromiseReactionJobInfo, tasks, Object, kTasksOffset); |
5666 ACCESSORS(PromiseReactionJobInfo, deferred, Object, kDeferredOffset); | 5668 ACCESSORS(PromiseReactionJobInfo, deferred, Object, kDeferredOffset); |
5667 ACCESSORS(PromiseReactionJobInfo, before_debug_event, Object, | 5669 ACCESSORS(PromiseReactionJobInfo, before_debug_event, Object, |
5668 kBeforeDebugEventOffset); | 5670 kBeforeDebugEventOffset); |
5669 ACCESSORS(PromiseReactionJobInfo, after_debug_event, Object, | 5671 ACCESSORS(PromiseReactionJobInfo, after_debug_event, Object, |
5670 kAfterDebugEventOffset); | 5672 kAfterDebugEventOffset); |
5671 ACCESSORS(PromiseReactionJobInfo, context, Context, kContextOffset); | 5673 ACCESSORS(PromiseReactionJobInfo, context, Context, kContextOffset); |
5672 | 5674 |
(...skipping 2666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8339 #undef WRITE_INT64_FIELD | 8341 #undef WRITE_INT64_FIELD |
8340 #undef READ_BYTE_FIELD | 8342 #undef READ_BYTE_FIELD |
8341 #undef WRITE_BYTE_FIELD | 8343 #undef WRITE_BYTE_FIELD |
8342 #undef NOBARRIER_READ_BYTE_FIELD | 8344 #undef NOBARRIER_READ_BYTE_FIELD |
8343 #undef NOBARRIER_WRITE_BYTE_FIELD | 8345 #undef NOBARRIER_WRITE_BYTE_FIELD |
8344 | 8346 |
8345 } // namespace internal | 8347 } // namespace internal |
8346 } // namespace v8 | 8348 } // namespace v8 |
8347 | 8349 |
8348 #endif // V8_OBJECTS_INL_H_ | 8350 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |