| Index: src/wasm/wasm-objects.cc
|
| diff --git a/src/wasm/wasm-objects.cc b/src/wasm/wasm-objects.cc
|
| index c9b552f4a78a0260abe6e8266e132354a8da12c6..e6ef656be28d73701eef39a02008ed4c1deaf739 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, false, false, false);
|
| }
|
| }
|
| return true;
|
|
|