Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index fe8ae95d3b85d97abc1159e64f6c2a113eb363dd..91c706e16392a7e789da6e42162f128d5d70711e 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); |