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 5988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5999 | 5999 |
6000 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex) | 6000 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex) |
6001 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) | 6001 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) |
6002 | 6002 |
6003 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) | 6003 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) |
6004 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray, | 6004 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray, |
6005 kOptimizedCodeMapOffset) | 6005 kOptimizedCodeMapOffset) |
6006 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) | 6006 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) |
6007 ACCESSORS(SharedFunctionInfo, feedback_metadata, TypeFeedbackMetadata, | 6007 ACCESSORS(SharedFunctionInfo, feedback_metadata, TypeFeedbackMetadata, |
6008 kFeedbackMetadataOffset) | 6008 kFeedbackMetadataOffset) |
| 6009 SMI_ACCESSORS(SharedFunctionInfo, function_literal_num, |
| 6010 kFunctionLiteralNumOffset) |
6009 #if TRACE_MAPS | 6011 #if TRACE_MAPS |
6010 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset) | 6012 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset) |
6011 #endif | 6013 #endif |
6012 ACCESSORS(SharedFunctionInfo, instance_class_name, Object, | 6014 ACCESSORS(SharedFunctionInfo, instance_class_name, Object, |
6013 kInstanceClassNameOffset) | 6015 kInstanceClassNameOffset) |
6014 ACCESSORS(SharedFunctionInfo, function_data, Object, kFunctionDataOffset) | 6016 ACCESSORS(SharedFunctionInfo, function_data, Object, kFunctionDataOffset) |
6015 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset) | 6017 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset) |
6016 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset) | 6018 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset) |
6017 ACCESSORS(SharedFunctionInfo, function_identifier, Object, | 6019 ACCESSORS(SharedFunctionInfo, function_identifier, Object, |
6018 kFunctionIdentifierOffset) | 6020 kFunctionIdentifierOffset) |
(...skipping 2423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8442 #undef WRITE_INT64_FIELD | 8444 #undef WRITE_INT64_FIELD |
8443 #undef READ_BYTE_FIELD | 8445 #undef READ_BYTE_FIELD |
8444 #undef WRITE_BYTE_FIELD | 8446 #undef WRITE_BYTE_FIELD |
8445 #undef NOBARRIER_READ_BYTE_FIELD | 8447 #undef NOBARRIER_READ_BYTE_FIELD |
8446 #undef NOBARRIER_WRITE_BYTE_FIELD | 8448 #undef NOBARRIER_WRITE_BYTE_FIELD |
8447 | 8449 |
8448 } // namespace internal | 8450 } // namespace internal |
8449 } // namespace v8 | 8451 } // namespace v8 |
8450 | 8452 |
8451 #endif // V8_OBJECTS_INL_H_ | 8453 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |