Index: src/messages.cc |
diff --git a/src/messages.cc b/src/messages.cc |
index ca09b1a66a580f53e7950d548ee5b3aecadc70c2..63833ae220adad81923a1de2dbcd8efc94ae644c 100644 |
--- a/src/messages.cc |
+++ b/src/messages.cc |
@@ -659,7 +659,8 @@ Handle<Object> WasmStackFrame::GetFunctionName() { |
Handle<WasmCompiledModule> compiled_module( |
Handle<WasmInstanceObject>::cast(wasm_instance_)->get_compiled_module(), |
isolate_); |
- if (!WasmCompiledModule::GetFunctionName(compiled_module, wasm_func_index_) |
+ if (!WasmCompiledModule::GetFunctionNameOrNull(isolate_, compiled_module, |
+ wasm_func_index_) |
.ToHandle(&name)) { |
name = isolate_->factory()->null_value(); |
} |