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 5429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5440 allows_lazy_compilation_without_context, | 5440 allows_lazy_compilation_without_context, |
5441 kAllowLazyCompilationWithoutContext) | 5441 kAllowLazyCompilationWithoutContext) |
5442 BOOL_ACCESSORS(SharedFunctionInfo, | 5442 BOOL_ACCESSORS(SharedFunctionInfo, |
5443 compiler_hints, | 5443 compiler_hints, |
5444 uses_arguments, | 5444 uses_arguments, |
5445 kUsesArguments) | 5445 kUsesArguments) |
5446 BOOL_ACCESSORS(SharedFunctionInfo, | 5446 BOOL_ACCESSORS(SharedFunctionInfo, |
5447 compiler_hints, | 5447 compiler_hints, |
5448 has_duplicate_parameters, | 5448 has_duplicate_parameters, |
5449 kHasDuplicateParameters) | 5449 kHasDuplicateParameters) |
| 5450 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, asm_function, kIsAsmFunction) |
5450 | 5451 |
5451 | 5452 |
5452 #if V8_HOST_ARCH_32_BIT | 5453 #if V8_HOST_ARCH_32_BIT |
5453 SMI_ACCESSORS(SharedFunctionInfo, length, kLengthOffset) | 5454 SMI_ACCESSORS(SharedFunctionInfo, length, kLengthOffset) |
5454 SMI_ACCESSORS(SharedFunctionInfo, formal_parameter_count, | 5455 SMI_ACCESSORS(SharedFunctionInfo, formal_parameter_count, |
5455 kFormalParameterCountOffset) | 5456 kFormalParameterCountOffset) |
5456 SMI_ACCESSORS(SharedFunctionInfo, expected_nof_properties, | 5457 SMI_ACCESSORS(SharedFunctionInfo, expected_nof_properties, |
5457 kExpectedNofPropertiesOffset) | 5458 kExpectedNofPropertiesOffset) |
5458 SMI_ACCESSORS(SharedFunctionInfo, num_literals, kNumLiteralsOffset) | 5459 SMI_ACCESSORS(SharedFunctionInfo, num_literals, kNumLiteralsOffset) |
5459 SMI_ACCESSORS(SharedFunctionInfo, start_position_and_type, | 5460 SMI_ACCESSORS(SharedFunctionInfo, start_position_and_type, |
(...skipping 1774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7234 #undef READ_SHORT_FIELD | 7235 #undef READ_SHORT_FIELD |
7235 #undef WRITE_SHORT_FIELD | 7236 #undef WRITE_SHORT_FIELD |
7236 #undef READ_BYTE_FIELD | 7237 #undef READ_BYTE_FIELD |
7237 #undef WRITE_BYTE_FIELD | 7238 #undef WRITE_BYTE_FIELD |
7238 #undef NOBARRIER_READ_BYTE_FIELD | 7239 #undef NOBARRIER_READ_BYTE_FIELD |
7239 #undef NOBARRIER_WRITE_BYTE_FIELD | 7240 #undef NOBARRIER_WRITE_BYTE_FIELD |
7240 | 7241 |
7241 } } // namespace v8::internal | 7242 } } // namespace v8::internal |
7242 | 7243 |
7243 #endif // V8_OBJECTS_INL_H_ | 7244 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |