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 6181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6192 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, needs_home_object, | 6192 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, needs_home_object, |
6193 kNeedsHomeObject) | 6193 kNeedsHomeObject) |
6194 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, native, kNative) | 6194 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, native, kNative) |
6195 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, force_inline, kForceInline) | 6195 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, force_inline, kForceInline) |
6196 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, | 6196 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, |
6197 name_should_print_as_anonymous, | 6197 name_should_print_as_anonymous, |
6198 kNameShouldPrintAsAnonymous) | 6198 kNameShouldPrintAsAnonymous) |
6199 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous_expression, | 6199 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous_expression, |
6200 kIsAnonymousExpression) | 6200 kIsAnonymousExpression) |
6201 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) | 6201 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) |
6202 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_crankshaft, | 6202 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, must_use_ignition_turbo, |
6203 kDontCrankshaft) | 6203 kMustUseIgnitionTurbo) |
6204 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) | 6204 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) |
6205 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_asm_wasm_broken, | 6205 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_asm_wasm_broken, |
6206 kIsAsmWasmBroken) | 6206 kIsAsmWasmBroken) |
6207 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, requires_class_field_init, | 6207 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, requires_class_field_init, |
6208 kRequiresClassFieldInit) | 6208 kRequiresClassFieldInit) |
6209 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_class_field_initializer, | 6209 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_class_field_initializer, |
6210 kIsClassFieldInitializer) | 6210 kIsClassFieldInitializer) |
6211 | 6211 |
6212 bool Script::HasValidSource() { | 6212 bool Script::HasValidSource() { |
6213 Object* src = this->source(); | 6213 Object* src = this->source(); |
(...skipping 2230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8444 #undef WRITE_INT64_FIELD | 8444 #undef WRITE_INT64_FIELD |
8445 #undef READ_BYTE_FIELD | 8445 #undef READ_BYTE_FIELD |
8446 #undef WRITE_BYTE_FIELD | 8446 #undef WRITE_BYTE_FIELD |
8447 #undef NOBARRIER_READ_BYTE_FIELD | 8447 #undef NOBARRIER_READ_BYTE_FIELD |
8448 #undef NOBARRIER_WRITE_BYTE_FIELD | 8448 #undef NOBARRIER_WRITE_BYTE_FIELD |
8449 | 8449 |
8450 } // namespace internal | 8450 } // namespace internal |
8451 } // namespace v8 | 8451 } // namespace v8 |
8452 | 8452 |
8453 #endif // V8_OBJECTS_INL_H_ | 8453 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |