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 4866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4877 V(WASM_FUNCTION) | 4877 V(WASM_FUNCTION) |
4878 | 4878 |
4879 #define IC_KIND_LIST(V) \ | 4879 #define IC_KIND_LIST(V) \ |
4880 V(LOAD_IC) \ | 4880 V(LOAD_IC) \ |
4881 V(KEYED_LOAD_IC) \ | 4881 V(KEYED_LOAD_IC) \ |
4882 V(CALL_IC) \ | 4882 V(CALL_IC) \ |
4883 V(STORE_IC) \ | 4883 V(STORE_IC) \ |
4884 V(KEYED_STORE_IC) \ | 4884 V(KEYED_STORE_IC) \ |
4885 V(BINARY_OP_IC) \ | 4885 V(BINARY_OP_IC) \ |
4886 V(COMPARE_IC) \ | 4886 V(COMPARE_IC) \ |
| 4887 V(COMPARE_NIL_IC) \ |
4887 V(TO_BOOLEAN_IC) | 4888 V(TO_BOOLEAN_IC) |
4888 | 4889 |
4889 #define CODE_KIND_LIST(V) \ | 4890 #define CODE_KIND_LIST(V) \ |
4890 NON_IC_KIND_LIST(V) \ | 4891 NON_IC_KIND_LIST(V) \ |
4891 IC_KIND_LIST(V) | 4892 IC_KIND_LIST(V) |
4892 | 4893 |
4893 enum Kind { | 4894 enum Kind { |
4894 #define DEFINE_CODE_KIND_ENUM(name) name, | 4895 #define DEFINE_CODE_KIND_ENUM(name) name, |
4895 CODE_KIND_LIST(DEFINE_CODE_KIND_ENUM) | 4896 CODE_KIND_LIST(DEFINE_CODE_KIND_ENUM) |
4896 #undef DEFINE_CODE_KIND_ENUM | 4897 #undef DEFINE_CODE_KIND_ENUM |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4990 inline bool is_inline_cache_stub(); | 4991 inline bool is_inline_cache_stub(); |
4991 inline bool is_debug_stub(); | 4992 inline bool is_debug_stub(); |
4992 inline bool is_handler(); | 4993 inline bool is_handler(); |
4993 inline bool is_load_stub(); | 4994 inline bool is_load_stub(); |
4994 inline bool is_keyed_load_stub(); | 4995 inline bool is_keyed_load_stub(); |
4995 inline bool is_store_stub(); | 4996 inline bool is_store_stub(); |
4996 inline bool is_keyed_store_stub(); | 4997 inline bool is_keyed_store_stub(); |
4997 inline bool is_call_stub(); | 4998 inline bool is_call_stub(); |
4998 inline bool is_binary_op_stub(); | 4999 inline bool is_binary_op_stub(); |
4999 inline bool is_compare_ic_stub(); | 5000 inline bool is_compare_ic_stub(); |
| 5001 inline bool is_compare_nil_ic_stub(); |
5000 inline bool is_to_boolean_ic_stub(); | 5002 inline bool is_to_boolean_ic_stub(); |
5001 inline bool is_keyed_stub(); | 5003 inline bool is_keyed_stub(); |
5002 inline bool is_optimized_code(); | 5004 inline bool is_optimized_code(); |
5003 inline bool is_wasm_code(); | 5005 inline bool is_wasm_code(); |
5004 inline bool embeds_maps_weakly(); | 5006 inline bool embeds_maps_weakly(); |
5005 | 5007 |
5006 inline bool IsCodeStubOrIC(); | 5008 inline bool IsCodeStubOrIC(); |
5007 inline bool IsJavaScriptCode(); | 5009 inline bool IsJavaScriptCode(); |
5008 | 5010 |
5009 inline void set_raw_kind_specific_flags1(int value); | 5011 inline void set_raw_kind_specific_flags1(int value); |
(...skipping 5824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10834 } | 10836 } |
10835 return value; | 10837 return value; |
10836 } | 10838 } |
10837 }; | 10839 }; |
10838 | 10840 |
10839 | 10841 |
10840 } // NOLINT, false-positive due to second-order macros. | 10842 } // NOLINT, false-positive due to second-order macros. |
10841 } // NOLINT, false-positive due to second-order macros. | 10843 } // NOLINT, false-positive due to second-order macros. |
10842 | 10844 |
10843 #endif // V8_OBJECTS_H_ | 10845 #endif // V8_OBJECTS_H_ |
OLD | NEW |