From 0578dd41d52bb930c5cbb0e93db17e6f7b59ea44 Mon Sep 17 00:00:00 2001 From: EgorBo Date: Thu, 8 Jun 2023 10:59:30 +0200 Subject: [PATCH] don't use GetEarlyNode in impGetSpecialIntrinsicExactReturnType --- 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 4afb8c55535495..e2015173f85294 100644 --- a/src/coreclr/jit/importercalls.cpp +++ b/src/coreclr/jit/importercalls.cpp @@ -7588,7 +7588,7 @@ CORINFO_CLASS_HANDLE Compiler::impGetSpecialIntrinsicExactReturnType(GenTreeCall if (instParam != nullptr) { assert(instParam->GetNext() == nullptr); - CORINFO_CLASS_HANDLE hClass = gtGetHelperArgClassHandle(instParam->GetEarlyNode()); + CORINFO_CLASS_HANDLE hClass = gtGetHelperArgClassHandle(instParam->GetNode()); if (hClass != NO_CLASS_HANDLE) { hClass = getTypeInstantiationArgument(hClass, 0);