| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index 9524686e805187c9687bfbdbb75f813fa7ed0b59..5e6a900ee093cb05236994d19c29bb556890f777 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -4011,13 +4011,6 @@
|
| return source_position_table;
|
| }
|
|
|
| -char* WasmCompilationUnit::GetTaggedFunctionName(
|
| - const wasm::WasmFunction* function) {
|
| - snprintf(function_name_, sizeof(function_name_), "wasm#%d",
|
| - function->func_index);
|
| - return function_name_;
|
| -}
|
| -
|
| WasmCompilationUnit::WasmCompilationUnit(wasm::ErrorThrower* thrower,
|
| Isolate* isolate,
|
| wasm::ModuleBytesEnv* module_env,
|
| @@ -4038,7 +4031,7 @@
|
| compilation_zone_(isolate->allocator(), ZONE_NAME),
|
| info_(function->name_length != 0
|
| ? module_env->wire_bytes.GetNameOrNull(function)
|
| - : CStrVector(GetTaggedFunctionName(function)),
|
| + : ArrayVector("wasm"),
|
| isolate, &compilation_zone_,
|
| Code::ComputeFlags(Code::WASM_FUNCTION)),
|
| job_(),
|
|
|