Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 7a48f4fafa8861e867367f5655383395fe406f9f..d185b83ec2eac4f7c09bf1e35d09911de0e91106 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -373,13 +373,6 @@ std::ostream& operator<<(std::ostream& os, const WasmModule& module); |
std::ostream& operator<<(std::ostream& os, const WasmFunction& function); |
std::ostream& operator<<(std::ostream& os, const WasmFunctionName& name); |
-// Extract a function name from the given wasm instance. |
-// Returns "<WASM UNNAMED>" if no instance is passed, the function is unnamed or |
-// the name is not a valid UTF-8 string. |
-// TODO(5620): Refactor once we always get a wasm instance. |
-Handle<String> GetWasmFunctionName(Isolate* isolate, Handle<Object> instance, |
- uint32_t func_index); |
- |
// Get the debug info associated with the given wasm object. |
// If no debug info exists yet, it is created automatically. |
Handle<WasmDebugInfo> GetDebugInfo(Handle<JSObject> wasm); |
@@ -391,9 +384,6 @@ Handle<WasmDebugInfo> GetDebugInfo(Handle<JSObject> wasm); |
// else. |
bool IsWasmInstance(Object* instance); |
-// Check whether the wasm module was generated from asm.js code. |
-bool WasmIsAsmJs(Object* instance, Isolate* isolate); |
- |
// Get the script of the wasm module. If the origin of the module is asm.js, the |
// returned Script will be a JavaScript Script of Script::TYPE_NORMAL, otherwise |
// it's of type TYPE_WASM. |