diff --git a/test/cctest/wasm/wasm-run-utils.cc b/test/cctest/wasm/wasm-run-utils.cc index b005a2eebb..edd79a1ea8 100644 --- a/test/cctest/wasm/wasm-run-utils.cc +++ b/test/cctest/wasm/wasm-run-utils.cc @@ -353,7 +353,7 @@ Handle WasmFunctionWrapper::GetWrapperCode() { } CompilationInfo info(ArrayVector("testing"), isolate, graph()->zone(), - Code::WASM_FUNCTION); + Code::C_WASM_ENTRY); code_ = compiler::Pipeline::GenerateCodeForTesting(&info, descriptor, graph(), nullptr); CHECK(!code_.is_null());