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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
52 using OffsetTable = std::vector<WasmDisassemblyOffsetTableEntry>; | 52 using OffsetTable = std::vector<WasmDisassemblyOffsetTableEntry>; |
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 { | |
63 kDebugEnqueue, | |
dgozman
2017/01/09 22:59:30
This never happens, right?
kozy
2017/01/10 00:11:38
Never, I think we can remove it now and add it lat
| |
64 kDebugEnqueueRecurring, | |
65 kDebugCancel, | |
66 kDebugWillHandle, | |
67 kDebugDidHandle, | |
68 }; | |
69 | |
62 } // namespace debug | 70 } // namespace debug |
63 } // namespace v8 | 71 } // namespace v8 |
64 | 72 |
65 #endif // V8_DEBUG_INTERFACE_TYPES_H_ | 73 #endif // V8_DEBUG_INTERFACE_TYPES_H_ |
OLD | NEW |