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 5474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5485 ACCESSORS_TO_SMI(BreakPointInfo, source_position, kSourcePositionIndex) | 5485 ACCESSORS_TO_SMI(BreakPointInfo, source_position, kSourcePositionIndex) |
5486 ACCESSORS_TO_SMI(BreakPointInfo, statement_position, kStatementPositionIndex) | 5486 ACCESSORS_TO_SMI(BreakPointInfo, statement_position, kStatementPositionIndex) |
5487 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) | 5487 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) |
5488 | 5488 |
5489 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) | 5489 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) |
5490 ACCESSORS(SharedFunctionInfo, optimized_code_map, Object, | 5490 ACCESSORS(SharedFunctionInfo, optimized_code_map, Object, |
5491 kOptimizedCodeMapOffset) | 5491 kOptimizedCodeMapOffset) |
5492 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) | 5492 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) |
5493 ACCESSORS(SharedFunctionInfo, feedback_vector, TypeFeedbackVector, | 5493 ACCESSORS(SharedFunctionInfo, feedback_vector, TypeFeedbackVector, |
5494 kFeedbackVectorOffset) | 5494 kFeedbackVectorOffset) |
| 5495 #if TRACE_MAPS |
| 5496 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset) |
| 5497 #endif |
5495 ACCESSORS(SharedFunctionInfo, instance_class_name, Object, | 5498 ACCESSORS(SharedFunctionInfo, instance_class_name, Object, |
5496 kInstanceClassNameOffset) | 5499 kInstanceClassNameOffset) |
5497 ACCESSORS(SharedFunctionInfo, function_data, Object, kFunctionDataOffset) | 5500 ACCESSORS(SharedFunctionInfo, function_data, Object, kFunctionDataOffset) |
5498 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset) | 5501 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset) |
5499 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset) | 5502 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset) |
5500 ACCESSORS(SharedFunctionInfo, inferred_name, String, kInferredNameOffset) | 5503 ACCESSORS(SharedFunctionInfo, inferred_name, String, kInferredNameOffset) |
5501 | 5504 |
5502 | 5505 |
5503 SMI_ACCESSORS(FunctionTemplateInfo, length, kLengthOffset) | 5506 SMI_ACCESSORS(FunctionTemplateInfo, length, kLengthOffset) |
5504 BOOL_ACCESSORS(FunctionTemplateInfo, flag, hidden_prototype, | 5507 BOOL_ACCESSORS(FunctionTemplateInfo, flag, hidden_prototype, |
(...skipping 1835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7340 #undef READ_SHORT_FIELD | 7343 #undef READ_SHORT_FIELD |
7341 #undef WRITE_SHORT_FIELD | 7344 #undef WRITE_SHORT_FIELD |
7342 #undef READ_BYTE_FIELD | 7345 #undef READ_BYTE_FIELD |
7343 #undef WRITE_BYTE_FIELD | 7346 #undef WRITE_BYTE_FIELD |
7344 #undef NOBARRIER_READ_BYTE_FIELD | 7347 #undef NOBARRIER_READ_BYTE_FIELD |
7345 #undef NOBARRIER_WRITE_BYTE_FIELD | 7348 #undef NOBARRIER_WRITE_BYTE_FIELD |
7346 | 7349 |
7347 } } // namespace v8::internal | 7350 } } // namespace v8::internal |
7348 | 7351 |
7349 #endif // V8_OBJECTS_INL_H_ | 7352 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |