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 4865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4876 V(WASM_FUNCTION) | 4876 V(WASM_FUNCTION) |
4877 | 4877 |
4878 #define IC_KIND_LIST(V) \ | 4878 #define IC_KIND_LIST(V) \ |
4879 V(LOAD_IC) \ | 4879 V(LOAD_IC) \ |
4880 V(KEYED_LOAD_IC) \ | 4880 V(KEYED_LOAD_IC) \ |
4881 V(CALL_IC) \ | 4881 V(CALL_IC) \ |
4882 V(STORE_IC) \ | 4882 V(STORE_IC) \ |
4883 V(KEYED_STORE_IC) \ | 4883 V(KEYED_STORE_IC) \ |
4884 V(BINARY_OP_IC) \ | 4884 V(BINARY_OP_IC) \ |
4885 V(COMPARE_IC) \ | 4885 V(COMPARE_IC) \ |
4886 V(COMPARE_NIL_IC) \ | |
4887 V(TO_BOOLEAN_IC) | 4886 V(TO_BOOLEAN_IC) |
4888 | 4887 |
4889 #define CODE_KIND_LIST(V) \ | 4888 #define CODE_KIND_LIST(V) \ |
4890 NON_IC_KIND_LIST(V) \ | 4889 NON_IC_KIND_LIST(V) \ |
4891 IC_KIND_LIST(V) | 4890 IC_KIND_LIST(V) |
4892 | 4891 |
4893 enum Kind { | 4892 enum Kind { |
4894 #define DEFINE_CODE_KIND_ENUM(name) name, | 4893 #define DEFINE_CODE_KIND_ENUM(name) name, |
4895 CODE_KIND_LIST(DEFINE_CODE_KIND_ENUM) | 4894 CODE_KIND_LIST(DEFINE_CODE_KIND_ENUM) |
4896 #undef DEFINE_CODE_KIND_ENUM | 4895 #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(); | 4989 inline bool is_inline_cache_stub(); |
4991 inline bool is_debug_stub(); | 4990 inline bool is_debug_stub(); |
4992 inline bool is_handler(); | 4991 inline bool is_handler(); |
4993 inline bool is_load_stub(); | 4992 inline bool is_load_stub(); |
4994 inline bool is_keyed_load_stub(); | 4993 inline bool is_keyed_load_stub(); |
4995 inline bool is_store_stub(); | 4994 inline bool is_store_stub(); |
4996 inline bool is_keyed_store_stub(); | 4995 inline bool is_keyed_store_stub(); |
4997 inline bool is_call_stub(); | 4996 inline bool is_call_stub(); |
4998 inline bool is_binary_op_stub(); | 4997 inline bool is_binary_op_stub(); |
4999 inline bool is_compare_ic_stub(); | 4998 inline bool is_compare_ic_stub(); |
5000 inline bool is_compare_nil_ic_stub(); | |
5001 inline bool is_to_boolean_ic_stub(); | 4999 inline bool is_to_boolean_ic_stub(); |
5002 inline bool is_keyed_stub(); | 5000 inline bool is_keyed_stub(); |
5003 inline bool is_optimized_code(); | 5001 inline bool is_optimized_code(); |
5004 inline bool is_wasm_code(); | 5002 inline bool is_wasm_code(); |
5005 inline bool embeds_maps_weakly(); | 5003 inline bool embeds_maps_weakly(); |
5006 | 5004 |
5007 inline bool IsCodeStubOrIC(); | 5005 inline bool IsCodeStubOrIC(); |
5008 inline bool IsJavaScriptCode(); | 5006 inline bool IsJavaScriptCode(); |
5009 | 5007 |
5010 inline void set_raw_kind_specific_flags1(int value); | 5008 inline void set_raw_kind_specific_flags1(int value); |
(...skipping 5862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10873 } | 10871 } |
10874 return value; | 10872 return value; |
10875 } | 10873 } |
10876 }; | 10874 }; |
10877 | 10875 |
10878 | 10876 |
10879 } // NOLINT, false-positive due to second-order macros. | 10877 } // NOLINT, false-positive due to second-order macros. |
10880 } // NOLINT, false-positive due to second-order macros. | 10878 } // NOLINT, false-positive due to second-order macros. |
10881 | 10879 |
10882 #endif // V8_OBJECTS_H_ | 10880 #endif // V8_OBJECTS_H_ |
OLD | NEW |