| Index: src/runtime/runtime-debug.cc
|
| diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc
|
| index b1bd85c34dae937c0a6b0e24e8a6a0280e34f806..a8ca5c60bd0dfc69a51d1d4417b2311ad067d936 100644
|
| --- a/src/runtime/runtime-debug.cc
|
| +++ b/src/runtime/runtime-debug.cc
|
| @@ -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
|
|
|