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 6031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6042 BOOL_ACCESSORS(SharedFunctionInfo, | 6042 BOOL_ACCESSORS(SharedFunctionInfo, |
6043 compiler_hints, | 6043 compiler_hints, |
6044 has_duplicate_parameters, | 6044 has_duplicate_parameters, |
6045 kHasDuplicateParameters) | 6045 kHasDuplicateParameters) |
6046 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, asm_function, kIsAsmFunction) | 6046 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, asm_function, kIsAsmFunction) |
6047 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, deserialized, kDeserialized) | 6047 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, deserialized, kDeserialized) |
6048 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, never_compiled, | 6048 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, never_compiled, |
6049 kNeverCompiled) | 6049 kNeverCompiled) |
6050 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_declaration, | 6050 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_declaration, |
6051 kIsDeclaration) | 6051 kIsDeclaration) |
6052 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, was_marked_for_optimization, | 6052 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, was_marked_for_tier_up, |
6053 kWasMarkedForOptimization) | 6053 kWasMarkedForTierUp) |
6054 | 6054 |
6055 #if V8_HOST_ARCH_32_BIT | 6055 #if V8_HOST_ARCH_32_BIT |
6056 SMI_ACCESSORS(SharedFunctionInfo, length, kLengthOffset) | 6056 SMI_ACCESSORS(SharedFunctionInfo, length, kLengthOffset) |
6057 SMI_ACCESSORS(SharedFunctionInfo, internal_formal_parameter_count, | 6057 SMI_ACCESSORS(SharedFunctionInfo, internal_formal_parameter_count, |
6058 kFormalParameterCountOffset) | 6058 kFormalParameterCountOffset) |
6059 SMI_ACCESSORS(SharedFunctionInfo, expected_nof_properties, | 6059 SMI_ACCESSORS(SharedFunctionInfo, expected_nof_properties, |
6060 kExpectedNofPropertiesOffset) | 6060 kExpectedNofPropertiesOffset) |
6061 SMI_ACCESSORS(SharedFunctionInfo, num_literals, kNumLiteralsOffset) | 6061 SMI_ACCESSORS(SharedFunctionInfo, num_literals, kNumLiteralsOffset) |
6062 SMI_ACCESSORS(SharedFunctionInfo, start_position_and_type, | 6062 SMI_ACCESSORS(SharedFunctionInfo, start_position_and_type, |
6063 kStartPositionAndTypeOffset) | 6063 kStartPositionAndTypeOffset) |
(...skipping 2351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8415 #undef WRITE_INT64_FIELD | 8415 #undef WRITE_INT64_FIELD |
8416 #undef READ_BYTE_FIELD | 8416 #undef READ_BYTE_FIELD |
8417 #undef WRITE_BYTE_FIELD | 8417 #undef WRITE_BYTE_FIELD |
8418 #undef NOBARRIER_READ_BYTE_FIELD | 8418 #undef NOBARRIER_READ_BYTE_FIELD |
8419 #undef NOBARRIER_WRITE_BYTE_FIELD | 8419 #undef NOBARRIER_WRITE_BYTE_FIELD |
8420 | 8420 |
8421 } // namespace internal | 8421 } // namespace internal |
8422 } // namespace v8 | 8422 } // namespace v8 |
8423 | 8423 |
8424 #endif // V8_OBJECTS_INL_H_ | 8424 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |