From 095a981ea7e4f01d82775590cd4daae07c68b1ff Mon Sep 17 00:00:00 2001 From: Steven He Date: Wed, 22 Jan 2025 20:46:51 +0900 Subject: [PATCH] Use genActualType --- src/coreclr/jit/importercalls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/jit/importercalls.cpp b/src/coreclr/jit/importercalls.cpp index a93dd1dfea99aa..7428f2c7d3659e 100644 --- a/src/coreclr/jit/importercalls.cpp +++ b/src/coreclr/jit/importercalls.cpp @@ -9210,7 +9210,7 @@ void Compiler::impCheckCanInline(GenTreeCall* call, // Return type // - var_types const fncRetType = pParam->call->gtReturnType; + var_types const fncRetType = genActualType(pParam->call->gtReturnType); #ifdef DEBUG var_types fncRealRetType = JITtype2varType(methInfo.args.retType);