From: Jonghyun Park Date: Fri, 21 Apr 2017 15:51:12 +0000 (+0900) Subject: [x86/Linux] Correctly initialize nonVolRegPtrs in LazyMachState::unwindLazyState... X-Git-Tag: accepted/tizen/base/20180629.140029~1326 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b5e4d03243de5fea54ac478e66e051ed19f55f6b;p=platform%2Fupstream%2Fcoreclr.git [x86/Linux] Correctly initialize nonVolRegPtrs in LazyMachState::unwindLazyState (#10888) --- diff --git a/src/vm/i386/gmsx86.cpp b/src/vm/i386/gmsx86.cpp index 840a50d..2852b92 100644 --- a/src/vm/i386/gmsx86.cpp +++ b/src/vm/i386/gmsx86.cpp @@ -1295,10 +1295,10 @@ void LazyMachState::unwindLazyState(LazyMachState* baseState, ctx.Esi = lazyState->_esi = baseState->_esi; ctx.Ebx = lazyState->_ebx = baseState->_ebx; - nonVolRegPtrs.Edi = &(lazyState->_edi); - nonVolRegPtrs.Esi = &(lazyState->_esi); - nonVolRegPtrs.Ebx = &(lazyState->_ebx); - nonVolRegPtrs.Ebp = &(lazyState->_ebp); + nonVolRegPtrs.Edi = &(baseState->_edi); + nonVolRegPtrs.Esi = &(baseState->_esi); + nonVolRegPtrs.Ebx = &(baseState->_ebx); + nonVolRegPtrs.Ebp = &(baseState->_ebp); PCODE pvControlPc;