Address PR feedback.
authorPat Gavlin <pagavlin@microsoft.com>
Tue, 6 Dec 2016 17:01:36 +0000 (09:01 -0800)
committerPat Gavlin <pagavlin@microsoft.com>
Tue, 6 Dec 2016 17:01:36 +0000 (09:01 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/344da95319273c239162a0ac9c0d6ab590be7e77

src/coreclr/src/jit/lower.cpp

index f5294f2..a6e50b3 100644 (file)
@@ -2975,6 +2975,9 @@ void Lowering::InsertPInvokeCallEpilog(GenTreeCall* call)
 #else
     const CORINFO_EE_INFO::InlinedCallFrameInfo& callFrameInfo = comp->eeGetEEInfo()->inlinedCallFrameInfo;
 
+    // ----------------------------------------------------------------------------------
+    // InlinedCallFrame.m_pCallerReturnAddress = nullptr
+
     GenTreeLclFld* const storeCallSiteTracker =
         new (comp, GT_STORE_LCL_FLD) GenTreeLclFld(GT_STORE_LCL_FLD, TYP_I_IMPL, comp->lvaInlinedPInvokeFrameVar,
                                                    callFrameInfo.offsetOfReturnAddress);