| Index: src/wasm/wasm-debug.h
|
| diff --git a/src/wasm/wasm-debug.h b/src/wasm/wasm-debug.h
|
| index be77c88aeee7d4846baff9b1926c9174aaafdf8f..a9415db80f2027cf6aa782a08bc8077f410f8491 100644
|
| --- a/src/wasm/wasm-debug.h
|
| +++ b/src/wasm/wasm-debug.h
|
| @@ -7,43 +7,14 @@
|
|
|
| #include "src/handles.h"
|
| #include "src/objects.h"
|
| +#include "src/wasm/wasm-objects.h"
|
| +
|
| +// TODO: remove this header.
|
|
|
| namespace v8 {
|
| namespace internal {
|
| namespace wasm {
|
|
|
| -class WasmDebugInfo : public FixedArray {
|
| - public:
|
| - static Handle<WasmDebugInfo> New(Handle<JSObject> wasm);
|
| -
|
| - static bool IsDebugInfo(Object* object);
|
| - static WasmDebugInfo* cast(Object* object);
|
| -
|
| - JSObject* wasm_instance();
|
| -
|
| - bool SetBreakPoint(int byte_offset);
|
| -
|
| - // Get the Script for the specified function.
|
| - static Script* GetFunctionScript(Handle<WasmDebugInfo> debug_info,
|
| - int func_index);
|
| -
|
| - // Disassemble the specified function from this module.
|
| - static Handle<String> DisassembleFunction(Handle<WasmDebugInfo> debug_info,
|
| - int func_index);
|
| -
|
| - // Get the offset table for the specified function, mapping from byte offsets
|
| - // to position in the disassembly.
|
| - // Returns an array with three entries per instruction: byte offset, line and
|
| - // column.
|
| - static Handle<FixedArray> GetFunctionOffsetTable(
|
| - Handle<WasmDebugInfo> debug_info, int func_index);
|
| -
|
| - // Get the asm.js source position from a byte offset.
|
| - // Must only be called if the associated wasm object was created from asm.js.
|
| - static int GetAsmJsSourcePosition(Handle<WasmDebugInfo> debug_info,
|
| - int func_index, int byte_offset);
|
| -};
|
| -
|
| } // namespace wasm
|
| } // namespace internal
|
| } // namespace v8
|
|
|