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 4944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4955 inline bool is_handler(); | 4955 inline bool is_handler(); |
4956 inline bool is_call_stub(); | 4956 inline bool is_call_stub(); |
4957 inline bool is_binary_op_stub(); | 4957 inline bool is_binary_op_stub(); |
4958 inline bool is_compare_ic_stub(); | 4958 inline bool is_compare_ic_stub(); |
4959 inline bool is_to_boolean_ic_stub(); | 4959 inline bool is_to_boolean_ic_stub(); |
4960 inline bool is_optimized_code(); | 4960 inline bool is_optimized_code(); |
4961 inline bool is_wasm_code(); | 4961 inline bool is_wasm_code(); |
4962 inline bool embeds_maps_weakly(); | 4962 inline bool embeds_maps_weakly(); |
4963 | 4963 |
4964 inline bool IsCodeStubOrIC(); | 4964 inline bool IsCodeStubOrIC(); |
4965 inline bool IsJavaScriptCode(); | |
4966 | 4965 |
4967 inline void set_raw_kind_specific_flags1(int value); | 4966 inline void set_raw_kind_specific_flags1(int value); |
4968 inline void set_raw_kind_specific_flags2(int value); | 4967 inline void set_raw_kind_specific_flags2(int value); |
4969 | 4968 |
4970 // Testers for interpreter builtins. | 4969 // Testers for interpreter builtins. |
4971 inline bool is_interpreter_entry_trampoline(); | 4970 inline bool is_interpreter_trampoline_builtin(); |
4972 inline bool is_interpreter_enter_bytecode_dispatch(); | |
4973 | 4971 |
4974 // [is_crankshafted]: For kind STUB or ICs, tells whether or not a code | 4972 // [is_crankshafted]: For kind STUB or ICs, tells whether or not a code |
4975 // object was generated by either the hydrogen or the TurboFan optimizing | 4973 // object was generated by either the hydrogen or the TurboFan optimizing |
4976 // compiler (but it may not be an optimized function). | 4974 // compiler (but it may not be an optimized function). |
4977 inline bool is_crankshafted(); | 4975 inline bool is_crankshafted(); |
4978 inline bool is_hydrogen_stub(); // Crankshafted, but not a function. | 4976 inline bool is_hydrogen_stub(); // Crankshafted, but not a function. |
4979 inline void set_is_crankshafted(bool value); | 4977 inline void set_is_crankshafted(bool value); |
4980 | 4978 |
4981 // [is_turbofanned]: For kind STUB or OPTIMIZED_FUNCTION, tells whether the | 4979 // [is_turbofanned]: For kind STUB or OPTIMIZED_FUNCTION, tells whether the |
4982 // code object was generated by the TurboFan optimizing compiler. | 4980 // code object was generated by the TurboFan optimizing compiler. |
(...skipping 5751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10734 } | 10732 } |
10735 return value; | 10733 return value; |
10736 } | 10734 } |
10737 }; | 10735 }; |
10738 | 10736 |
10739 | 10737 |
10740 } // NOLINT, false-positive due to second-order macros. | 10738 } // NOLINT, false-positive due to second-order macros. |
10741 } // NOLINT, false-positive due to second-order macros. | 10739 } // NOLINT, false-positive due to second-order macros. |
10742 | 10740 |
10743 #endif // V8_OBJECTS_H_ | 10741 #endif // V8_OBJECTS_H_ |
OLD | NEW |