| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index d5a53b6701f158b82ed301f51c087cba3a2df58a..b19a3eef8270193b44d356217f768498d4f405df 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -8972,8 +8972,9 @@ bool DebugInterface::Script::GetPossibleBreakpoints(
|
| CHECK(!start.IsEmpty());
|
| i::Handle<i::Script> script = Utils::OpenHandle(this);
|
| if (script->type() == i::Script::TYPE_WASM) {
|
| - // TODO(clemensh): Return the proper thing once we support wasm breakpoints.
|
| - return false;
|
| + i::Handle<i::WasmCompiledModule> compiled_module(
|
| + i::WasmCompiledModule::cast(script->wasm_compiled_module()));
|
| + return compiled_module->GetPossibleBreakpoints(start, end, locations);
|
| }
|
|
|
| i::Script::InitLineEnds(script);
|
|
|