| 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 5779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5790 } | 5790 } |
| 5791 | 5791 |
| 5792 Code* DebugInfo::DebugCode() { | 5792 Code* DebugInfo::DebugCode() { |
| 5793 DCHECK(HasDebugCode()); | 5793 DCHECK(HasDebugCode()); |
| 5794 return shared()->code(); | 5794 return shared()->code(); |
| 5795 } | 5795 } |
| 5796 | 5796 |
| 5797 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex) | 5797 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex) |
| 5798 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) | 5798 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) |
| 5799 | 5799 |
| 5800 SMI_ACCESSORS(StackFrameInfo, line_number, kLineNumberIndex) |
| 5801 SMI_ACCESSORS(StackFrameInfo, column_number, kColumnNumberIndex) |
| 5802 SMI_ACCESSORS(StackFrameInfo, script_id, kScriptIdIndex) |
| 5803 ACCESSORS(StackFrameInfo, script_name, Object, kScriptNameIndex) |
| 5804 ACCESSORS(StackFrameInfo, script_name_or_source_url, Object, |
| 5805 kScriptNameOrSourceUrlIndex) |
| 5806 ACCESSORS(StackFrameInfo, function_name, Object, kFunctionNameIndex) |
| 5807 SMI_ACCESSORS(StackFrameInfo, flag, kFlagIndex) |
| 5808 BOOL_ACCESSORS(StackFrameInfo, flag, is_eval, kIsEvalBit) |
| 5809 BOOL_ACCESSORS(StackFrameInfo, flag, is_constructor, kIsConstructorBit) |
| 5810 |
| 5800 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) | 5811 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) |
| 5801 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray, | 5812 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray, |
| 5802 kOptimizedCodeMapOffset) | 5813 kOptimizedCodeMapOffset) |
| 5803 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) | 5814 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) |
| 5804 ACCESSORS(SharedFunctionInfo, feedback_metadata, FeedbackMetadata, | 5815 ACCESSORS(SharedFunctionInfo, feedback_metadata, FeedbackMetadata, |
| 5805 kFeedbackMetadataOffset) | 5816 kFeedbackMetadataOffset) |
| 5806 SMI_ACCESSORS(SharedFunctionInfo, function_literal_id, kFunctionLiteralIdOffset) | 5817 SMI_ACCESSORS(SharedFunctionInfo, function_literal_id, kFunctionLiteralIdOffset) |
| 5807 #if TRACE_MAPS | 5818 #if TRACE_MAPS |
| 5808 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset) | 5819 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset) |
| 5809 #endif | 5820 #endif |
| (...skipping 2436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8246 #undef WRITE_BYTE_FIELD | 8257 #undef WRITE_BYTE_FIELD |
| 8247 #undef NOBARRIER_READ_BYTE_FIELD | 8258 #undef NOBARRIER_READ_BYTE_FIELD |
| 8248 #undef NOBARRIER_WRITE_BYTE_FIELD | 8259 #undef NOBARRIER_WRITE_BYTE_FIELD |
| 8249 | 8260 |
| 8250 } // namespace internal | 8261 } // namespace internal |
| 8251 } // namespace v8 | 8262 } // namespace v8 |
| 8252 | 8263 |
| 8253 #include "src/objects/object-macros-undef.h" | 8264 #include "src/objects/object-macros-undef.h" |
| 8254 | 8265 |
| 8255 #endif // V8_OBJECTS_INL_H_ | 8266 #endif // V8_OBJECTS_INL_H_ |
| OLD | NEW |