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 5808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5819 BytecodeArray* DebugInfo::DebugBytecodeArray() { | 5819 BytecodeArray* DebugInfo::DebugBytecodeArray() { |
5820 DCHECK(HasDebugBytecodeArray()); | 5820 DCHECK(HasDebugBytecodeArray()); |
5821 return BytecodeArray::cast(debug_bytecode_array()); | 5821 return BytecodeArray::cast(debug_bytecode_array()); |
5822 } | 5822 } |
5823 | 5823 |
5824 Code* DebugInfo::DebugCode() { | 5824 Code* DebugInfo::DebugCode() { |
5825 DCHECK(HasDebugCode()); | 5825 DCHECK(HasDebugCode()); |
5826 return shared()->code(); | 5826 return shared()->code(); |
5827 } | 5827 } |
5828 | 5828 |
| 5829 ACCESSORS(BreakPoint, condition, String, kConditionIndex); |
| 5830 ACCESSORS(BreakPoint, data, Object, kDataIndex); |
| 5831 |
5829 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex) | 5832 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex) |
5830 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) | 5833 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) |
5831 | 5834 |
5832 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) | 5835 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) |
5833 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray, | 5836 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray, |
5834 kOptimizedCodeMapOffset) | 5837 kOptimizedCodeMapOffset) |
5835 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) | 5838 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) |
5836 ACCESSORS(SharedFunctionInfo, feedback_metadata, FeedbackMetadata, | 5839 ACCESSORS(SharedFunctionInfo, feedback_metadata, FeedbackMetadata, |
5837 kFeedbackMetadataOffset) | 5840 kFeedbackMetadataOffset) |
5838 SMI_ACCESSORS(SharedFunctionInfo, function_literal_id, kFunctionLiteralIdOffset) | 5841 SMI_ACCESSORS(SharedFunctionInfo, function_literal_id, kFunctionLiteralIdOffset) |
(...skipping 2416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8255 #undef WRITE_INT64_FIELD | 8258 #undef WRITE_INT64_FIELD |
8256 #undef READ_BYTE_FIELD | 8259 #undef READ_BYTE_FIELD |
8257 #undef WRITE_BYTE_FIELD | 8260 #undef WRITE_BYTE_FIELD |
8258 #undef NOBARRIER_READ_BYTE_FIELD | 8261 #undef NOBARRIER_READ_BYTE_FIELD |
8259 #undef NOBARRIER_WRITE_BYTE_FIELD | 8262 #undef NOBARRIER_WRITE_BYTE_FIELD |
8260 | 8263 |
8261 } // namespace internal | 8264 } // namespace internal |
8262 } // namespace v8 | 8265 } // namespace v8 |
8263 | 8266 |
8264 #endif // V8_OBJECTS_INL_H_ | 8267 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |