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 5801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5812 SMI_ACCESSORS(StackFrameInfo, line_number, kLineNumberIndex) | 5812 SMI_ACCESSORS(StackFrameInfo, line_number, kLineNumberIndex) |
5813 SMI_ACCESSORS(StackFrameInfo, column_number, kColumnNumberIndex) | 5813 SMI_ACCESSORS(StackFrameInfo, column_number, kColumnNumberIndex) |
5814 SMI_ACCESSORS(StackFrameInfo, script_id, kScriptIdIndex) | 5814 SMI_ACCESSORS(StackFrameInfo, script_id, kScriptIdIndex) |
5815 ACCESSORS(StackFrameInfo, script_name, Object, kScriptNameIndex) | 5815 ACCESSORS(StackFrameInfo, script_name, Object, kScriptNameIndex) |
5816 ACCESSORS(StackFrameInfo, script_name_or_source_url, Object, | 5816 ACCESSORS(StackFrameInfo, script_name_or_source_url, Object, |
5817 kScriptNameOrSourceUrlIndex) | 5817 kScriptNameOrSourceUrlIndex) |
5818 ACCESSORS(StackFrameInfo, function_name, Object, kFunctionNameIndex) | 5818 ACCESSORS(StackFrameInfo, function_name, Object, kFunctionNameIndex) |
5819 SMI_ACCESSORS(StackFrameInfo, flag, kFlagIndex) | 5819 SMI_ACCESSORS(StackFrameInfo, flag, kFlagIndex) |
5820 BOOL_ACCESSORS(StackFrameInfo, flag, is_eval, kIsEvalBit) | 5820 BOOL_ACCESSORS(StackFrameInfo, flag, is_eval, kIsEvalBit) |
5821 BOOL_ACCESSORS(StackFrameInfo, flag, is_constructor, kIsConstructorBit) | 5821 BOOL_ACCESSORS(StackFrameInfo, flag, is_constructor, kIsConstructorBit) |
| 5822 BOOL_ACCESSORS(StackFrameInfo, flag, is_wasm, kIsWasmBit) |
5822 | 5823 |
5823 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) | 5824 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) |
5824 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray, | 5825 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray, |
5825 kOptimizedCodeMapOffset) | 5826 kOptimizedCodeMapOffset) |
5826 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) | 5827 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) |
5827 ACCESSORS(SharedFunctionInfo, feedback_metadata, FeedbackMetadata, | 5828 ACCESSORS(SharedFunctionInfo, feedback_metadata, FeedbackMetadata, |
5828 kFeedbackMetadataOffset) | 5829 kFeedbackMetadataOffset) |
5829 SMI_ACCESSORS(SharedFunctionInfo, function_literal_id, kFunctionLiteralIdOffset) | 5830 SMI_ACCESSORS(SharedFunctionInfo, function_literal_id, kFunctionLiteralIdOffset) |
5830 #if TRACE_MAPS | 5831 #if TRACE_MAPS |
5831 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset) | 5832 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset) |
(...skipping 2437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8269 #undef WRITE_BYTE_FIELD | 8270 #undef WRITE_BYTE_FIELD |
8270 #undef NOBARRIER_READ_BYTE_FIELD | 8271 #undef NOBARRIER_READ_BYTE_FIELD |
8271 #undef NOBARRIER_WRITE_BYTE_FIELD | 8272 #undef NOBARRIER_WRITE_BYTE_FIELD |
8272 | 8273 |
8273 } // namespace internal | 8274 } // namespace internal |
8274 } // namespace v8 | 8275 } // namespace v8 |
8275 | 8276 |
8276 #include "src/objects/object-macros-undef.h" | 8277 #include "src/objects/object-macros-undef.h" |
8277 | 8278 |
8278 #endif // V8_OBJECTS_INL_H_ | 8279 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |