| Index: test/cctest/wasm/wasm-run-utils.h
|
| diff --git a/test/cctest/wasm/wasm-run-utils.h b/test/cctest/wasm/wasm-run-utils.h
|
| index 0ddb6f589248d9084542a2ab4104201b2bf3d4fd..fe9bbe9a2f55fa03c0b489b16304e91941ce1fb8 100644
|
| --- a/test/cctest/wasm/wasm-run-utils.h
|
| +++ b/test/cctest/wasm/wasm-run-utils.h
|
| @@ -609,7 +609,10 @@ class WasmFunctionCompiler : private GraphAndBuilders {
|
| if (kPointerSize == 4) {
|
| desc = testing_module_->GetI32WasmCallDescriptor(this->zone(), desc);
|
| }
|
| - CompilationInfo info(CStrVector("wasm"), this->isolate(), this->zone(),
|
| + EmbeddedVector<char, 16> comp_name;
|
| + int comp_name_len = SNPrintF(comp_name, "wasm#%u", this->function_index());
|
| + comp_name.Truncate(comp_name_len);
|
| + CompilationInfo info(comp_name, this->isolate(), this->zone(),
|
| Code::ComputeFlags(Code::WASM_FUNCTION));
|
| std::unique_ptr<CompilationJob> job(Pipeline::NewWasmCompilationJob(
|
| &info, &jsgraph, desc, &source_position_table_, nullptr, false));
|
|
|