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

Unified Diff: src/wasm/wasm-module.h

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 | « src/api.cc ('k') | src/wasm/wasm-module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-module.h
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
index 17fb0305163af3df312512045ec9156ec5513875..3f0eb62004721cd1e6ee1c4f1685ffb4476a9d44 100644
--- a/src/wasm/wasm-module.h
+++ b/src/wasm/wasm-module.h
@@ -410,14 +410,6 @@ bool WasmIsAsmJs(Object* instance, Isolate* isolate);
// it's of type TYPE_WASM.
Handle<Script> GetScript(Handle<JSObject> instance);
-// Compute the disassembly of a wasm function.
-// Returns the disassembly string and a list of <byte_offset, line, column>
-// entries, mapping wasm byte offsets to line and column in the disassembly.
-// The list is guaranteed to be ordered by the byte_offset.
-// Returns an empty string and empty vector if the function index is invalid.
-std::pair<std::string, std::vector<std::tuple<uint32_t, int, int>>>
-DisassembleFunction(Handle<WasmCompiledModule> compiled_module, int func_index);
-
V8_EXPORT_PRIVATE MaybeHandle<WasmModuleObject> CreateModuleObjectFromBytes(
Isolate* isolate, const byte* start, const byte* end, ErrorThrower* thrower,
ModuleOrigin origin, Handle<Script> asm_js_script,
« no previous file with comments | « src/api.cc ('k') | src/wasm/wasm-module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698