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 5959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5970 | 5970 |
5971 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, needs_home_object, | 5971 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, needs_home_object, |
5972 kNeedsHomeObject) | 5972 kNeedsHomeObject) |
5973 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, native, kNative) | 5973 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, native, kNative) |
5974 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, force_inline, kForceInline) | 5974 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, force_inline, kForceInline) |
5975 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, must_use_ignition_turbo, | 5975 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, must_use_ignition_turbo, |
5976 kMustUseIgnitionTurbo) | 5976 kMustUseIgnitionTurbo) |
5977 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) | 5977 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) |
5978 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_asm_wasm_broken, | 5978 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_asm_wasm_broken, |
5979 kIsAsmWasmBroken) | 5979 kIsAsmWasmBroken) |
| 5980 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, collects_type_profile, |
| 5981 kCollectsTypeProfile) |
| 5982 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, |
| 5983 computed_collects_type_profile, kComputedCollectsTypeProfile) |
5980 | 5984 |
5981 BOOL_GETTER(SharedFunctionInfo, compiler_hints, optimization_disabled, | 5985 BOOL_GETTER(SharedFunctionInfo, compiler_hints, optimization_disabled, |
5982 kOptimizationDisabled) | 5986 kOptimizationDisabled) |
5983 | 5987 |
5984 void SharedFunctionInfo::set_optimization_disabled(bool disable) { | 5988 void SharedFunctionInfo::set_optimization_disabled(bool disable) { |
5985 set_compiler_hints(BooleanBit::set(compiler_hints(), | 5989 set_compiler_hints(BooleanBit::set(compiler_hints(), |
5986 kOptimizationDisabled, | 5990 kOptimizationDisabled, |
5987 disable)); | 5991 disable)); |
5988 } | 5992 } |
5989 | 5993 |
(...skipping 2280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8270 #undef WRITE_INT64_FIELD | 8274 #undef WRITE_INT64_FIELD |
8271 #undef READ_BYTE_FIELD | 8275 #undef READ_BYTE_FIELD |
8272 #undef WRITE_BYTE_FIELD | 8276 #undef WRITE_BYTE_FIELD |
8273 #undef NOBARRIER_READ_BYTE_FIELD | 8277 #undef NOBARRIER_READ_BYTE_FIELD |
8274 #undef NOBARRIER_WRITE_BYTE_FIELD | 8278 #undef NOBARRIER_WRITE_BYTE_FIELD |
8275 | 8279 |
8276 } // namespace internal | 8280 } // namespace internal |
8277 } // namespace v8 | 8281 } // namespace v8 |
8278 | 8282 |
8279 #endif // V8_OBJECTS_INL_H_ | 8283 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |