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 5806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5817 uses_arguments, | 5817 uses_arguments, |
5818 kUsesArguments) | 5818 kUsesArguments) |
5819 BOOL_ACCESSORS(SharedFunctionInfo, | 5819 BOOL_ACCESSORS(SharedFunctionInfo, |
5820 compiler_hints, | 5820 compiler_hints, |
5821 has_duplicate_parameters, | 5821 has_duplicate_parameters, |
5822 kHasDuplicateParameters) | 5822 kHasDuplicateParameters) |
5823 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, asm_function, kIsAsmFunction) | 5823 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, asm_function, kIsAsmFunction) |
5824 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, deserialized, kDeserialized) | 5824 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, deserialized, kDeserialized) |
5825 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, never_compiled, | 5825 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, never_compiled, |
5826 kNeverCompiled) | 5826 kNeverCompiled) |
5827 | 5827 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, accept_IN, kAcceptIn) |
5828 | 5828 |
5829 #if V8_HOST_ARCH_32_BIT | 5829 #if V8_HOST_ARCH_32_BIT |
5830 SMI_ACCESSORS(SharedFunctionInfo, length, kLengthOffset) | 5830 SMI_ACCESSORS(SharedFunctionInfo, length, kLengthOffset) |
5831 SMI_ACCESSORS(SharedFunctionInfo, internal_formal_parameter_count, | 5831 SMI_ACCESSORS(SharedFunctionInfo, internal_formal_parameter_count, |
5832 kFormalParameterCountOffset) | 5832 kFormalParameterCountOffset) |
5833 SMI_ACCESSORS(SharedFunctionInfo, expected_nof_properties, | 5833 SMI_ACCESSORS(SharedFunctionInfo, expected_nof_properties, |
5834 kExpectedNofPropertiesOffset) | 5834 kExpectedNofPropertiesOffset) |
5835 SMI_ACCESSORS(SharedFunctionInfo, num_literals, kNumLiteralsOffset) | 5835 SMI_ACCESSORS(SharedFunctionInfo, num_literals, kNumLiteralsOffset) |
5836 SMI_ACCESSORS(SharedFunctionInfo, start_position_and_type, | 5836 SMI_ACCESSORS(SharedFunctionInfo, start_position_and_type, |
5837 kStartPositionAndTypeOffset) | 5837 kStartPositionAndTypeOffset) |
(...skipping 2289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8127 #undef WRITE_INT64_FIELD | 8127 #undef WRITE_INT64_FIELD |
8128 #undef READ_BYTE_FIELD | 8128 #undef READ_BYTE_FIELD |
8129 #undef WRITE_BYTE_FIELD | 8129 #undef WRITE_BYTE_FIELD |
8130 #undef NOBARRIER_READ_BYTE_FIELD | 8130 #undef NOBARRIER_READ_BYTE_FIELD |
8131 #undef NOBARRIER_WRITE_BYTE_FIELD | 8131 #undef NOBARRIER_WRITE_BYTE_FIELD |
8132 | 8132 |
8133 } // namespace internal | 8133 } // namespace internal |
8134 } // namespace v8 | 8134 } // namespace v8 |
8135 | 8135 |
8136 #endif // V8_OBJECTS_INL_H_ | 8136 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |