From 2f9aeafb5ee14f7d82b51aea150c206502a14dae Mon Sep 17 00:00:00 2001 From: Jakob Botsch Nielsen Date: Tue, 2 Aug 2022 18:49:41 +0200 Subject: [PATCH] JIT: Assign method handle for root inline context in all builds Missed this in a recent change where these handles were made available in all builds. --- src/coreclr/jit/inline.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/coreclr/jit/inline.cpp b/src/coreclr/jit/inline.cpp index 4ebcc1d440343e..222ed7e514eb44 100644 --- a/src/coreclr/jit/inline.cpp +++ b/src/coreclr/jit/inline.cpp @@ -1247,13 +1247,8 @@ InlineContext* InlineStrategy::NewRoot() rootContext->m_ILSize = m_Compiler->info.compILCodeSize; rootContext->m_Code = m_Compiler->info.compCode; - -#if defined(DEBUG) || defined(INLINE_DATA) - rootContext->m_Callee = m_Compiler->info.compMethodHnd; -#endif // defined(DEBUG) || defined(INLINE_DATA) - return rootContext; }