Index: src/wasm/wasm-objects.cc |
diff --git a/src/wasm/wasm-objects.cc b/src/wasm/wasm-objects.cc |
index c9b552f4a78a0260abe6e8266e132354a8da12c6..69afc2e2a8c5eed2c12ea977bb7c845a7a647a07 100644 |
--- a/src/wasm/wasm-objects.cc |
+++ b/src/wasm/wasm-objects.cc |
@@ -1041,7 +1041,7 @@ v8::debug::WasmDisassembly WasmCompiledModule::DisassembleFunction( |
bool WasmCompiledModule::GetPossibleBreakpoints( |
const v8::debug::Location& start, const v8::debug::Location& end, |
- std::vector<v8::debug::Location>* locations) { |
+ std::vector<v8::debug::BreakLocation>* locations) { |
DisallowHeapAllocation no_gc; |
std::vector<WasmFunction>& functions = module()->functions; |
@@ -1104,7 +1104,7 @@ bool WasmCompiledModule::GetPossibleBreakpoints( |
break; |
} |
if (total_offset < start_offset) continue; |
- locations->push_back(v8::debug::Location(func_idx, offset)); |
+ locations->emplace_back(func_idx, offset, debug::kCommonBreakLocation); |
} |
} |
return true; |