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 4862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4873 // Code describes objects with on-the-fly generated machine code. | 4873 // Code describes objects with on-the-fly generated machine code. |
4874 class Code: public HeapObject { | 4874 class Code: public HeapObject { |
4875 public: | 4875 public: |
4876 // Opaque data type for encapsulating code flags like kind, inline | 4876 // Opaque data type for encapsulating code flags like kind, inline |
4877 // cache state, and arguments count. | 4877 // cache state, and arguments count. |
4878 typedef uint32_t Flags; | 4878 typedef uint32_t Flags; |
4879 | 4879 |
4880 #define NON_IC_KIND_LIST(V) \ | 4880 #define NON_IC_KIND_LIST(V) \ |
4881 V(FUNCTION) \ | 4881 V(FUNCTION) \ |
4882 V(OPTIMIZED_FUNCTION) \ | 4882 V(OPTIMIZED_FUNCTION) \ |
| 4883 V(BYTECODE_HANDLER) \ |
4883 V(STUB) \ | 4884 V(STUB) \ |
4884 V(HANDLER) \ | 4885 V(HANDLER) \ |
4885 V(BUILTIN) \ | 4886 V(BUILTIN) \ |
4886 V(REGEXP) \ | 4887 V(REGEXP) \ |
4887 V(WASM_FUNCTION) \ | 4888 V(WASM_FUNCTION) \ |
4888 V(WASM_TO_JS_FUNCTION) \ | 4889 V(WASM_TO_JS_FUNCTION) \ |
4889 V(JS_TO_WASM_FUNCTION) | 4890 V(JS_TO_WASM_FUNCTION) |
4890 | 4891 |
4891 #define IC_KIND_LIST(V) \ | 4892 #define IC_KIND_LIST(V) \ |
4892 V(LOAD_IC) \ | 4893 V(LOAD_IC) \ |
(...skipping 5989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10882 } | 10883 } |
10883 return value; | 10884 return value; |
10884 } | 10885 } |
10885 }; | 10886 }; |
10886 | 10887 |
10887 | 10888 |
10888 } // NOLINT, false-positive due to second-order macros. | 10889 } // NOLINT, false-positive due to second-order macros. |
10889 } // NOLINT, false-positive due to second-order macros. | 10890 } // NOLINT, false-positive due to second-order macros. |
10890 | 10891 |
10891 #endif // V8_OBJECTS_H_ | 10892 #endif // V8_OBJECTS_H_ |
OLD | NEW |