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 4952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4963 V(REGEXP) \ | 4963 V(REGEXP) \ |
4964 V(WASM_FUNCTION) \ | 4964 V(WASM_FUNCTION) \ |
4965 V(WASM_TO_JS_FUNCTION) \ | 4965 V(WASM_TO_JS_FUNCTION) \ |
4966 V(JS_TO_WASM_FUNCTION) \ | 4966 V(JS_TO_WASM_FUNCTION) \ |
4967 V(WASM_INTERPRETER_ENTRY) | 4967 V(WASM_INTERPRETER_ENTRY) |
4968 | 4968 |
4969 #define IC_KIND_LIST(V) \ | 4969 #define IC_KIND_LIST(V) \ |
4970 V(LOAD_IC) \ | 4970 V(LOAD_IC) \ |
4971 V(LOAD_GLOBAL_IC) \ | 4971 V(LOAD_GLOBAL_IC) \ |
4972 V(KEYED_LOAD_IC) \ | 4972 V(KEYED_LOAD_IC) \ |
4973 V(CALL_IC) \ | |
4974 V(STORE_IC) \ | 4973 V(STORE_IC) \ |
4975 V(KEYED_STORE_IC) \ | 4974 V(KEYED_STORE_IC) \ |
4976 V(BINARY_OP_IC) \ | 4975 V(BINARY_OP_IC) \ |
4977 V(COMPARE_IC) \ | 4976 V(COMPARE_IC) \ |
4978 V(TO_BOOLEAN_IC) | 4977 V(TO_BOOLEAN_IC) |
4979 | 4978 |
4980 #define CODE_KIND_LIST(V) \ | 4979 #define CODE_KIND_LIST(V) \ |
4981 NON_IC_KIND_LIST(V) \ | 4980 NON_IC_KIND_LIST(V) \ |
4982 IC_KIND_LIST(V) | 4981 IC_KIND_LIST(V) |
4983 | 4982 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5066 inline void set_flags(Flags flags); | 5065 inline void set_flags(Flags flags); |
5067 | 5066 |
5068 // [flags]: Access to specific code flags. | 5067 // [flags]: Access to specific code flags. |
5069 inline Kind kind(); | 5068 inline Kind kind(); |
5070 inline ExtraICState extra_ic_state(); // Only valid for IC stubs. | 5069 inline ExtraICState extra_ic_state(); // Only valid for IC stubs. |
5071 | 5070 |
5072 // Testers for IC stub kinds. | 5071 // Testers for IC stub kinds. |
5073 inline bool is_inline_cache_stub(); | 5072 inline bool is_inline_cache_stub(); |
5074 inline bool is_debug_stub(); | 5073 inline bool is_debug_stub(); |
5075 inline bool is_handler(); | 5074 inline bool is_handler(); |
5076 inline bool is_call_stub(); | |
5077 inline bool is_binary_op_stub(); | 5075 inline bool is_binary_op_stub(); |
5078 inline bool is_compare_ic_stub(); | 5076 inline bool is_compare_ic_stub(); |
5079 inline bool is_to_boolean_ic_stub(); | 5077 inline bool is_to_boolean_ic_stub(); |
5080 inline bool is_optimized_code(); | 5078 inline bool is_optimized_code(); |
5081 inline bool is_wasm_code(); | 5079 inline bool is_wasm_code(); |
5082 | 5080 |
5083 inline bool IsCodeStubOrIC(); | 5081 inline bool IsCodeStubOrIC(); |
5084 | 5082 |
5085 inline void set_raw_kind_specific_flags1(int value); | 5083 inline void set_raw_kind_specific_flags1(int value); |
5086 inline void set_raw_kind_specific_flags2(int value); | 5084 inline void set_raw_kind_specific_flags2(int value); |
(...skipping 6535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11622 } | 11620 } |
11623 }; | 11621 }; |
11624 | 11622 |
11625 | 11623 |
11626 } // NOLINT, false-positive due to second-order macros. | 11624 } // NOLINT, false-positive due to second-order macros. |
11627 } // NOLINT, false-positive due to second-order macros. | 11625 } // NOLINT, false-positive due to second-order macros. |
11628 | 11626 |
11629 #include "src/objects/object-macros-undef.h" | 11627 #include "src/objects/object-macros-undef.h" |
11630 | 11628 |
11631 #endif // V8_OBJECTS_H_ | 11629 #endif // V8_OBJECTS_H_ |
OLD | NEW |