| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index 060a4a0937941359387dda34f0a49721c8f5e4f5..b003e9968aca0a218ae7a6f9d11db072c80c1e99 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -3151,8 +3151,8 @@
|
|
|
| Handle<Code> CompileWasmToJSWrapper(Isolate* isolate, Handle<JSReceiver> target,
|
| wasm::FunctionSig* sig, uint32_t index,
|
| - Handle<String> module_name,
|
| - MaybeHandle<String> import_name) {
|
| + Handle<String> import_module,
|
| + MaybeHandle<String> import_function) {
|
| //----------------------------------------------------------------------------
|
| // Create the Graph
|
| //----------------------------------------------------------------------------
|
| @@ -3215,14 +3215,14 @@
|
| if (isolate->logger()->is_logging_code_events() || isolate->is_profiling()) {
|
| const char* function_name = nullptr;
|
| int function_name_size = 0;
|
| - if (!import_name.is_null()) {
|
| - Handle<String> handle = import_name.ToHandleChecked();
|
| + if (!import_function.is_null()) {
|
| + Handle<String> handle = import_function.ToHandleChecked();
|
| function_name = handle->ToCString().get();
|
| function_name_size = handle->length();
|
| }
|
| RecordFunctionCompilation(
|
| CodeEventListener::FUNCTION_TAG, isolate, code, "wasm-to-js", index,
|
| - {module_name->ToCString().get(), module_name->length()},
|
| + {import_module->ToCString().get(), import_module->length()},
|
| {function_name, function_name_size});
|
| }
|
|
|
|
|