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