| 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 kDebugEnqueueRecurring, |
| 64 kDebugCancel, |
| 65 kDebugWillHandle, |
| 66 kDebugDidHandle, |
| 67 }; |
| 68 |
| 62 } // namespace debug | 69 } // namespace debug |
| 63 } // namespace v8 | 70 } // namespace v8 |
| 64 | 71 |
| 65 #endif // V8_DEBUG_INTERFACE_TYPES_H_ | 72 #endif // V8_DEBUG_INTERFACE_TYPES_H_ |
| OLD | NEW |