Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 59ae9d49b8ec200be613a1de8845d38d069c2d12..844c64bbe617b7b5f00f5040c15b4157e752698d 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -526,8 +526,8 @@ RUNTIME_FUNCTION(Runtime_GetFrameDetails) { |
// Add the function name. |
Handle<WasmCompiledModule> compiled_module( |
- it.wasm_frame()->wasm_instance()->compiled_module(), isolate); |
- int func_index = it.wasm_frame()->function_index(); |
+ it.wasm_compiled_frame()->wasm_instance()->compiled_module(), isolate); |
+ int func_index = it.wasm_compiled_frame()->function_index(); |
Handle<String> func_name = WasmCompiledModule::GetFunctionName( |
isolate, compiled_module, func_index); |
details->set(kFrameDetailsFunctionIndex, *func_name); |