| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
| 6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 7245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7256 | 7256 |
| 7257 // Whether this function was created from a FunctionDeclaration. | 7257 // Whether this function was created from a FunctionDeclaration. |
| 7258 DECL_BOOLEAN_ACCESSORS(is_declaration) | 7258 DECL_BOOLEAN_ACCESSORS(is_declaration) |
| 7259 | 7259 |
| 7260 // Whether this function was marked to be tiered up. | 7260 // Whether this function was marked to be tiered up. |
| 7261 DECL_BOOLEAN_ACCESSORS(marked_for_tier_up) | 7261 DECL_BOOLEAN_ACCESSORS(marked_for_tier_up) |
| 7262 | 7262 |
| 7263 // Indicates that asm->wasm conversion failed and should not be re-attempted. | 7263 // Indicates that asm->wasm conversion failed and should not be re-attempted. |
| 7264 DECL_BOOLEAN_ACCESSORS(is_asm_wasm_broken) | 7264 DECL_BOOLEAN_ACCESSORS(is_asm_wasm_broken) |
| 7265 | 7265 |
| 7266 // Indicates that the function collects type profile. |
| 7267 DECL_BOOLEAN_ACCESSORS(collects_type_profile) |
| 7268 |
| 7269 // Indicates that |collects_type_profile| has been computed and set. |
| 7270 DECL_BOOLEAN_ACCESSORS(computed_collects_type_profile) |
| 7271 |
| 7266 inline FunctionKind kind() const; | 7272 inline FunctionKind kind() const; |
| 7267 inline void set_kind(FunctionKind kind); | 7273 inline void set_kind(FunctionKind kind); |
| 7268 | 7274 |
| 7269 // Indicates whether or not the code in the shared function support | 7275 // Indicates whether or not the code in the shared function support |
| 7270 // deoptimization. | 7276 // deoptimization. |
| 7271 inline bool has_deoptimization_support(); | 7277 inline bool has_deoptimization_support(); |
| 7272 | 7278 |
| 7273 // Enable deoptimization support through recompiled code. | 7279 // Enable deoptimization support through recompiled code. |
| 7274 void EnableDeoptimizationSupport(Code* recompiled); | 7280 void EnableDeoptimizationSupport(Code* recompiled); |
| 7275 | 7281 |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7535 kStrictModeFunction, | 7541 kStrictModeFunction, |
| 7536 kUsesArguments, | 7542 kUsesArguments, |
| 7537 kNeedsHomeObject, | 7543 kNeedsHomeObject, |
| 7538 // byte 1 | 7544 // byte 1 |
| 7539 kForceInline, | 7545 kForceInline, |
| 7540 kIsAsmFunction, | 7546 kIsAsmFunction, |
| 7541 kMustUseIgnitionTurbo, | 7547 kMustUseIgnitionTurbo, |
| 7542 kDontFlush, | 7548 kDontFlush, |
| 7543 kIsDeclaration, | 7549 kIsDeclaration, |
| 7544 kIsAsmWasmBroken, | 7550 kIsAsmWasmBroken, |
| 7545 | 7551 kCollectsTypeProfile, |
| 7546 kUnused1, // Unused fields. | 7552 kComputedCollectsTypeProfile, |
| 7547 kUnused2, | |
| 7548 | 7553 |
| 7549 // byte 2 | 7554 // byte 2 |
| 7550 kFunctionKind, | 7555 kFunctionKind, |
| 7551 // rest of byte 2 and first two bits of byte 3 are used by FunctionKind | 7556 // rest of byte 2 and first two bits of byte 3 are used by FunctionKind |
| 7552 // byte 3 | 7557 // byte 3 |
| 7553 kCompilerHintsCount = kFunctionKind + 10, // Pseudo entry | 7558 kCompilerHintsCount = kFunctionKind + 10, // Pseudo entry |
| 7554 }; | 7559 }; |
| 7555 | 7560 |
| 7556 // Bit positions in debugger_hints. | 7561 // Bit positions in debugger_hints. |
| 7557 enum DebuggerHints { | 7562 enum DebuggerHints { |
| (...skipping 4023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11581 } | 11586 } |
| 11582 }; | 11587 }; |
| 11583 | 11588 |
| 11584 | 11589 |
| 11585 } // NOLINT, false-positive due to second-order macros. | 11590 } // NOLINT, false-positive due to second-order macros. |
| 11586 } // NOLINT, false-positive due to second-order macros. | 11591 } // NOLINT, false-positive due to second-order macros. |
| 11587 | 11592 |
| 11588 #include "src/objects/object-macros-undef.h" | 11593 #include "src/objects/object-macros-undef.h" |
| 11589 | 11594 |
| 11590 #endif // V8_OBJECTS_H_ | 11595 #endif // V8_OBJECTS_H_ |
| OLD | NEW |