OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_DEBUG_INTERFACE_TYPES_H_ | 5 #ifndef V8_DEBUG_INTERFACE_TYPES_H_ |
6 #define V8_DEBUG_INTERFACE_TYPES_H_ | 6 #define V8_DEBUG_INTERFACE_TYPES_H_ |
7 | 7 |
8 #include <cstdint> | 8 #include <cstdint> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 WasmDisassembly() {} | 53 WasmDisassembly() {} |
54 WasmDisassembly(std::string disassembly, OffsetTable offset_table) | 54 WasmDisassembly(std::string disassembly, OffsetTable offset_table) |
55 : disassembly(std::move(disassembly)), | 55 : disassembly(std::move(disassembly)), |
56 offset_table(std::move(offset_table)) {} | 56 offset_table(std::move(offset_table)) {} |
57 | 57 |
58 std::string disassembly; | 58 std::string disassembly; |
59 OffsetTable offset_table; | 59 OffsetTable offset_table; |
60 }; | 60 }; |
61 | 61 |
62 enum PromiseDebugActionType { | 62 enum PromiseDebugActionType { |
| 63 kDebugPromiseCreated, |
63 kDebugEnqueueAsyncFunction, | 64 kDebugEnqueueAsyncFunction, |
64 kDebugEnqueuePromiseResolve, | 65 kDebugEnqueuePromiseResolve, |
65 kDebugEnqueuePromiseReject, | 66 kDebugEnqueuePromiseReject, |
66 kDebugEnqueuePromiseResolveThenableJob, | |
67 kDebugPromiseCollected, | 67 kDebugPromiseCollected, |
68 kDebugWillHandle, | 68 kDebugWillHandle, |
69 kDebugDidHandle, | 69 kDebugDidHandle, |
70 }; | 70 }; |
71 | 71 |
72 } // namespace debug | 72 } // namespace debug |
73 } // namespace v8 | 73 } // namespace v8 |
74 | 74 |
75 #endif // V8_DEBUG_INTERFACE_TYPES_H_ | 75 #endif // V8_DEBUG_INTERFACE_TYPES_H_ |
OLD | NEW |