| Index: src/debug/debug-interface.h
 | 
| diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h
 | 
| index 11172eb03dddfd3d39d2bf467084d0bfaf61a934..3595cd6b95d3e273ef97e6cc61d242c9f3218413 100644
 | 
| --- a/src/debug/debug-interface.h
 | 
| +++ b/src/debug/debug-interface.h
 | 
| @@ -198,18 +198,27 @@ class DebugInterface {
 | 
|      int GetSourcePosition(const Location& location) const;
 | 
|    };
 | 
|  
 | 
| +  // Specialization for wasm Scripts.
 | 
| +  class WasmScript : public Script {
 | 
| +   public:
 | 
| +    static WasmScript* Cast(Script* script);
 | 
| +
 | 
| +    int NumFunction() const;
 | 
| +    int NumImportedFunction() const;
 | 
| +
 | 
| +    /**
 | 
| +     * 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.
 | 
| +     */
 | 
| +    std::pair<std::string, std::vector<std::tuple<uint32_t, int, int>>>
 | 
| +    DisassembleFunction(int function_index);
 | 
| +  };
 | 
| +
 | 
|    static void GetLoadedScripts(Isolate* isolate,
 | 
|                                 PersistentValueVector<Script>& scripts);
 | 
|  
 | 
| -  /**
 | 
| -   * 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.
 | 
| -   */
 | 
| -  static std::pair<std::string, std::vector<std::tuple<uint32_t, int, int>>>
 | 
| -  DisassembleWasmFunction(Isolate* isolate, v8::Local<v8::Object> script,
 | 
| -                          int function_index);
 | 
|    static MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate,
 | 
|                                                            Local<String> source);
 | 
|  };
 | 
| 
 |