| 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 4857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4868 // Code describes objects with on-the-fly generated machine code. | 4868 // Code describes objects with on-the-fly generated machine code. |
| 4869 class Code: public HeapObject { | 4869 class Code: public HeapObject { |
| 4870 public: | 4870 public: |
| 4871 // Opaque data type for encapsulating code flags like kind, inline | 4871 // Opaque data type for encapsulating code flags like kind, inline |
| 4872 // cache state, and arguments count. | 4872 // cache state, and arguments count. |
| 4873 typedef uint32_t Flags; | 4873 typedef uint32_t Flags; |
| 4874 | 4874 |
| 4875 #define NON_IC_KIND_LIST(V) \ | 4875 #define NON_IC_KIND_LIST(V) \ |
| 4876 V(FUNCTION) \ | 4876 V(FUNCTION) \ |
| 4877 V(OPTIMIZED_FUNCTION) \ | 4877 V(OPTIMIZED_FUNCTION) \ |
| 4878 V(BYTECODE_HANDLER) \ |
| 4878 V(STUB) \ | 4879 V(STUB) \ |
| 4879 V(HANDLER) \ | 4880 V(HANDLER) \ |
| 4880 V(BUILTIN) \ | 4881 V(BUILTIN) \ |
| 4881 V(REGEXP) \ | 4882 V(REGEXP) \ |
| 4882 V(WASM_FUNCTION) \ | 4883 V(WASM_FUNCTION) \ |
| 4883 V(WASM_TO_JS_FUNCTION) \ | 4884 V(WASM_TO_JS_FUNCTION) \ |
| 4884 V(JS_TO_WASM_FUNCTION) | 4885 V(JS_TO_WASM_FUNCTION) |
| 4885 | 4886 |
| 4886 #define IC_KIND_LIST(V) \ | 4887 #define IC_KIND_LIST(V) \ |
| 4887 V(LOAD_IC) \ | 4888 V(LOAD_IC) \ |
| (...skipping 5985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10873 } | 10874 } |
| 10874 return value; | 10875 return value; |
| 10875 } | 10876 } |
| 10876 }; | 10877 }; |
| 10877 | 10878 |
| 10878 | 10879 |
| 10879 } // NOLINT, false-positive due to second-order macros. | 10880 } // NOLINT, false-positive due to second-order macros. |
| 10880 } // NOLINT, false-positive due to second-order macros. | 10881 } // NOLINT, false-positive due to second-order macros. |
| 10881 | 10882 |
| 10882 #endif // V8_OBJECTS_H_ | 10883 #endif // V8_OBJECTS_H_ |
| OLD | NEW |