| 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 5800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5811 | 5811 |
| 5812 | 5812 |
| 5813 ACCESSORS(DebugInfo, shared, SharedFunctionInfo, kSharedFunctionInfoIndex) | 5813 ACCESSORS(DebugInfo, shared, SharedFunctionInfo, kSharedFunctionInfoIndex) |
| 5814 ACCESSORS(DebugInfo, abstract_code, AbstractCode, kAbstractCodeIndex) | 5814 ACCESSORS(DebugInfo, abstract_code, AbstractCode, kAbstractCodeIndex) |
| 5815 ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsStateIndex) | 5815 ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsStateIndex) |
| 5816 | 5816 |
| 5817 BytecodeArray* DebugInfo::original_bytecode_array() { | 5817 BytecodeArray* DebugInfo::original_bytecode_array() { |
| 5818 return shared()->bytecode_array(); | 5818 return shared()->bytecode_array(); |
| 5819 } | 5819 } |
| 5820 | 5820 |
| 5821 SMI_ACCESSORS(BreakPointInfo, code_offset, kCodeOffsetIndex) | |
| 5822 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex) | 5821 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex) |
| 5823 SMI_ACCESSORS(BreakPointInfo, statement_position, kStatementPositionIndex) | |
| 5824 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) | 5822 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) |
| 5825 | 5823 |
| 5826 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) | 5824 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) |
| 5827 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray, | 5825 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray, |
| 5828 kOptimizedCodeMapOffset) | 5826 kOptimizedCodeMapOffset) |
| 5829 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) | 5827 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) |
| 5830 ACCESSORS(SharedFunctionInfo, feedback_metadata, TypeFeedbackMetadata, | 5828 ACCESSORS(SharedFunctionInfo, feedback_metadata, TypeFeedbackMetadata, |
| 5831 kFeedbackMetadataOffset) | 5829 kFeedbackMetadataOffset) |
| 5832 #if TRACE_MAPS | 5830 #if TRACE_MAPS |
| 5833 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset) | 5831 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset) |
| (...skipping 2352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8186 #undef WRITE_INT64_FIELD | 8184 #undef WRITE_INT64_FIELD |
| 8187 #undef READ_BYTE_FIELD | 8185 #undef READ_BYTE_FIELD |
| 8188 #undef WRITE_BYTE_FIELD | 8186 #undef WRITE_BYTE_FIELD |
| 8189 #undef NOBARRIER_READ_BYTE_FIELD | 8187 #undef NOBARRIER_READ_BYTE_FIELD |
| 8190 #undef NOBARRIER_WRITE_BYTE_FIELD | 8188 #undef NOBARRIER_WRITE_BYTE_FIELD |
| 8191 | 8189 |
| 8192 } // namespace internal | 8190 } // namespace internal |
| 8193 } // namespace v8 | 8191 } // namespace v8 |
| 8194 | 8192 |
| 8195 #endif // V8_OBJECTS_INL_H_ | 8193 #endif // V8_OBJECTS_INL_H_ |
| OLD | NEW |