Index: src/debug/interface-types.h |
diff --git a/src/debug/interface-types.h b/src/debug/interface-types.h |
index b86986dee4c30719406d393253706c96a5129985..82eb2f2abbc12e8dd42f40b2d4d86efc2275744c 100644 |
--- a/src/debug/interface-types.h |
+++ b/src/debug/interface-types.h |
@@ -50,6 +50,7 @@ struct WasmDisassemblyOffsetTableEntry { |
int line; |
int column; |
}; |
+ |
struct WasmDisassembly { |
using OffsetTable = std::vector<WasmDisassemblyOffsetTableEntry>; |
WasmDisassembly() {} |
@@ -71,6 +72,24 @@ enum PromiseDebugActionType { |
kDebugDidHandle, |
}; |
+enum BreakLocationType { |
+ kCallBreakLocation, |
+ kReturnBreakLocation, |
+ kDebuggerStatementBreakLocation, |
+ kCommonBreakLocation |
+}; |
+ |
+class V8_EXPORT_PRIVATE BreakLocation : public Location { |
+ public: |
+ BreakLocation(int line_number, int column_number, BreakLocationType type) |
+ : Location(line_number, column_number), type_(type) {} |
+ |
+ BreakLocationType type() const { return type_; } |
+ |
+ private: |
+ BreakLocationType type_; |
+}; |
+ |
} // namespace debug |
} // namespace v8 |