Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Unified Diff: src/api.cc

Issue 2536373007: [wasm] Make DisassembleFunction a method of WasmCompiledModule (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/wasm/wasm-module.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 6ab8c72d8c05fa530d7f1c86fe6b3c3d5c17f112..b5935e29fc2e9932f57c2c5765d7c97d7f6856c4 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -9136,7 +9136,7 @@ DebugInterface::DisassembleWasmFunction(Isolate* v8_isolate,
if (script->type() != i::Script::TYPE_WASM) return {};
i::Handle<i::WasmCompiledModule> compiled_module(
i::WasmCompiledModule::cast(script->wasm_compiled_module()), isolate);
- return i::wasm::DisassembleFunction(compiled_module, function_index);
+ return compiled_module->DisassembleFunction(function_index);
}
MaybeLocal<UnboundScript> DebugInterface::CompileInspectorScript(
« no previous file with comments | « no previous file | src/wasm/wasm-module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698