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 | 9 |
10 #include "src/assert-scope.h" | 10 #include "src/assert-scope.h" |
(...skipping 4952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4963 inline bool is_handler(); | 4963 inline bool is_handler(); |
4964 inline bool is_call_stub(); | 4964 inline bool is_call_stub(); |
4965 inline bool is_binary_op_stub(); | 4965 inline bool is_binary_op_stub(); |
4966 inline bool is_compare_ic_stub(); | 4966 inline bool is_compare_ic_stub(); |
4967 inline bool is_to_boolean_ic_stub(); | 4967 inline bool is_to_boolean_ic_stub(); |
4968 inline bool is_optimized_code(); | 4968 inline bool is_optimized_code(); |
4969 inline bool is_wasm_code(); | 4969 inline bool is_wasm_code(); |
4970 inline bool embeds_maps_weakly(); | 4970 inline bool embeds_maps_weakly(); |
4971 | 4971 |
4972 inline bool IsCodeStubOrIC(); | 4972 inline bool IsCodeStubOrIC(); |
4973 inline bool IsJavaScriptCode(); | |
4974 | 4973 |
4975 inline void set_raw_kind_specific_flags1(int value); | 4974 inline void set_raw_kind_specific_flags1(int value); |
4976 inline void set_raw_kind_specific_flags2(int value); | 4975 inline void set_raw_kind_specific_flags2(int value); |
4977 | 4976 |
4978 // Testers for interpreter builtins. | 4977 // Testers for interpreter builtins. |
4979 inline bool is_interpreter_entry_trampoline(); | 4978 inline bool is_interpreter_trampoline_builtin(); |
4980 inline bool is_interpreter_enter_bytecode_dispatch(); | |
4981 | 4979 |
4982 // [is_crankshafted]: For kind STUB or ICs, tells whether or not a code | 4980 // [is_crankshafted]: For kind STUB or ICs, tells whether or not a code |
4983 // object was generated by either the hydrogen or the TurboFan optimizing | 4981 // object was generated by either the hydrogen or the TurboFan optimizing |
4984 // compiler (but it may not be an optimized function). | 4982 // compiler (but it may not be an optimized function). |
4985 inline bool is_crankshafted(); | 4983 inline bool is_crankshafted(); |
4986 inline bool is_hydrogen_stub(); // Crankshafted, but not a function. | 4984 inline bool is_hydrogen_stub(); // Crankshafted, but not a function. |
4987 inline void set_is_crankshafted(bool value); | 4985 inline void set_is_crankshafted(bool value); |
4988 | 4986 |
4989 // [is_turbofanned]: For kind STUB or OPTIMIZED_FUNCTION, tells whether the | 4987 // [is_turbofanned]: For kind STUB or OPTIMIZED_FUNCTION, tells whether the |
4990 // code object was generated by the TurboFan optimizing compiler. | 4988 // code object was generated by the TurboFan optimizing compiler. |
(...skipping 5758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10749 } | 10747 } |
10750 return value; | 10748 return value; |
10751 } | 10749 } |
10752 }; | 10750 }; |
10753 | 10751 |
10754 | 10752 |
10755 } // NOLINT, false-positive due to second-order macros. | 10753 } // NOLINT, false-positive due to second-order macros. |
10756 } // NOLINT, false-positive due to second-order macros. | 10754 } // NOLINT, false-positive due to second-order macros. |
10757 | 10755 |
10758 #endif // V8_OBJECTS_H_ | 10756 #endif // V8_OBJECTS_H_ |
OLD | NEW |