Index: src/inspector/wasm-translation.cc |
diff --git a/src/inspector/wasm-translation.cc b/src/inspector/wasm-translation.cc |
index 61f4f34a36a699cfb4aa9421ed3ffe2cecc32746..bdb19f0c64234fa71bc0e08558c50af180ac2235 100644 |
--- a/src/inspector/wasm-translation.cc |
+++ b/src/inspector/wasm-translation.cc |
@@ -171,9 +171,8 @@ class WasmTranslation::TranslatorImpl::DisassemblingTranslator |
if (it != offset_tables_.end()) return it->second; |
v8::Isolate *isolate = loc->translation->isolate_; |
- debug::WasmDisassembly disassembly_result = |
- DebugInterface::DisassembleWasmFunction(isolate, script_.Get(isolate), |
- func_index); |
+ debug::WasmDisassembly disassembly_result = debug::DisassembleWasmFunction( |
+ isolate, script_.Get(isolate), func_index); |
it = offset_tables_ |
.insert(std::make_pair(func_index, |