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/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 4928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4939 inline bool is_keyed_load_stub(); | 4939 inline bool is_keyed_load_stub(); |
4940 inline bool is_store_stub(); | 4940 inline bool is_store_stub(); |
4941 inline bool is_keyed_store_stub(); | 4941 inline bool is_keyed_store_stub(); |
4942 inline bool is_call_stub(); | 4942 inline bool is_call_stub(); |
4943 inline bool is_binary_op_stub(); | 4943 inline bool is_binary_op_stub(); |
4944 inline bool is_compare_ic_stub(); | 4944 inline bool is_compare_ic_stub(); |
4945 inline bool is_compare_nil_ic_stub(); | 4945 inline bool is_compare_nil_ic_stub(); |
4946 inline bool is_to_boolean_ic_stub(); | 4946 inline bool is_to_boolean_ic_stub(); |
4947 inline bool is_keyed_stub(); | 4947 inline bool is_keyed_stub(); |
4948 inline bool is_optimized_code(); | 4948 inline bool is_optimized_code(); |
4949 inline bool is_interpreter_entry_trampoline(); | |
4950 inline bool embeds_maps_weakly(); | 4949 inline bool embeds_maps_weakly(); |
4951 | 4950 |
4952 inline bool IsCodeStubOrIC(); | 4951 inline bool IsCodeStubOrIC(); |
4953 inline bool IsJavaScriptCode(); | 4952 inline bool IsJavaScriptCode(); |
4954 | 4953 |
4955 inline void set_raw_kind_specific_flags1(int value); | 4954 inline void set_raw_kind_specific_flags1(int value); |
4956 inline void set_raw_kind_specific_flags2(int value); | 4955 inline void set_raw_kind_specific_flags2(int value); |
4957 | 4956 |
| 4957 // Testers for interpreter builtins. |
| 4958 inline bool is_interpreter_entry_trampoline(); |
| 4959 inline bool is_interpreter_enter_bytecode_dispatch(); |
| 4960 |
4958 // [is_crankshafted]: For kind STUB or ICs, tells whether or not a code | 4961 // [is_crankshafted]: For kind STUB or ICs, tells whether or not a code |
4959 // object was generated by either the hydrogen or the TurboFan optimizing | 4962 // object was generated by either the hydrogen or the TurboFan optimizing |
4960 // compiler (but it may not be an optimized function). | 4963 // compiler (but it may not be an optimized function). |
4961 inline bool is_crankshafted(); | 4964 inline bool is_crankshafted(); |
4962 inline bool is_hydrogen_stub(); // Crankshafted, but not a function. | 4965 inline bool is_hydrogen_stub(); // Crankshafted, but not a function. |
4963 inline void set_is_crankshafted(bool value); | 4966 inline void set_is_crankshafted(bool value); |
4964 | 4967 |
4965 // [is_turbofanned]: For kind STUB or OPTIMIZED_FUNCTION, tells whether the | 4968 // [is_turbofanned]: For kind STUB or OPTIMIZED_FUNCTION, tells whether the |
4966 // code object was generated by the TurboFan optimizing compiler. | 4969 // code object was generated by the TurboFan optimizing compiler. |
4967 inline bool is_turbofanned(); | 4970 inline bool is_turbofanned(); |
(...skipping 5815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10783 } | 10786 } |
10784 return value; | 10787 return value; |
10785 } | 10788 } |
10786 }; | 10789 }; |
10787 | 10790 |
10788 | 10791 |
10789 } // NOLINT, false-positive due to second-order macros. | 10792 } // NOLINT, false-positive due to second-order macros. |
10790 } // NOLINT, false-positive due to second-order macros. | 10793 } // NOLINT, false-positive due to second-order macros. |
10791 | 10794 |
10792 #endif // V8_OBJECTS_H_ | 10795 #endif // V8_OBJECTS_H_ |
OLD | NEW |