| Index: src/runtime/runtime-debug.cc
|
| diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc
|
| index b1bd85c34dae937c0a6b0e24e8a6a0280e34f806..f16295f87ec149a8c87504633509361eece6161e 100644
|
| --- a/src/runtime/runtime-debug.cc
|
| +++ b/src/runtime/runtime-debug.cc
|
| @@ -16,8 +16,8 @@
|
| #include "src/interpreter/interpreter.h"
|
| #include "src/isolate-inl.h"
|
| #include "src/runtime/runtime.h"
|
| -#include "src/wasm/wasm-debug.h"
|
| #include "src/wasm/wasm-module.h"
|
| +#include "src/wasm/wasm-objects.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -1906,9 +1906,9 @@ RUNTIME_FUNCTION(Runtime_GetWasmFunctionOffsetTable) {
|
| CHECK(script_val->value()->IsScript());
|
| Handle<Script> script = Handle<Script>(Script::cast(script_val->value()));
|
|
|
| - Handle<wasm::WasmDebugInfo> debug_info =
|
| + Handle<WasmDebugInfo> debug_info =
|
| wasm::GetDebugInfo(handle(script->wasm_instance(), isolate));
|
| - Handle<FixedArray> elements = wasm::WasmDebugInfo::GetFunctionOffsetTable(
|
| + Handle<FixedArray> elements = WasmDebugInfo::GetFunctionOffsetTable(
|
| debug_info, script->wasm_function_index());
|
| return *isolate->factory()->NewJSArrayWithElements(elements);
|
| }
|
| @@ -1922,10 +1922,10 @@ RUNTIME_FUNCTION(Runtime_DisassembleWasmFunction) {
|
| CHECK(script_val->value()->IsScript());
|
| Handle<Script> script = Handle<Script>(Script::cast(script_val->value()));
|
|
|
| - Handle<wasm::WasmDebugInfo> debug_info =
|
| + Handle<WasmDebugInfo> debug_info =
|
| wasm::GetDebugInfo(handle(script->wasm_instance(), isolate));
|
| - return *wasm::WasmDebugInfo::DisassembleFunction(
|
| - debug_info, script->wasm_function_index());
|
| + return *WasmDebugInfo::DisassembleFunction(debug_info,
|
| + script->wasm_function_index());
|
| }
|
|
|
| } // namespace internal
|
|
|