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 db1144e1bc51b98bda9f4e322beed341a83acaaa..7d4ebd0a5a0900cc2bde277f185640f13c4987c9 100644 |
--- a/test/cctest/wasm/wasm-run-utils.h |
+++ b/test/cctest/wasm/wasm-run-utils.h |
@@ -381,7 +381,7 @@ class WasmFunctionWrapper : public HandleAndZoneScope, |
r.LowerGraph(); |
} |
- CompilationInfo info("testing", isolate, graph()->zone()); |
+ CompilationInfo info(ArrayVector("testing"), isolate, graph()->zone()); |
code_ = |
Pipeline::GenerateCodeForTesting(&info, descriptor, graph(), nullptr); |
CHECK(!code_.is_null()); |
@@ -481,7 +481,7 @@ class WasmFunctionCompiler : public HandleAndZoneScope, |
if (kPointerSize == 4) { |
desc = testing_module_->GetI32WasmCallDescriptor(this->zone(), desc); |
} |
- CompilationInfo info(debug_name_, this->isolate(), this->zone(), |
+ CompilationInfo info(CStrVector(debug_name_), this->isolate(), this->zone(), |
Code::ComputeFlags(Code::WASM_FUNCTION)); |
Handle<Code> result = Pipeline::GenerateWASMCode(&info, desc, this->graph(), |
&source_position_table_); |