Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit b5e4d03

Browse files
parjongjkotas
authored andcommitted
[x86/Linux] Correctly initialize nonVolRegPtrs in LazyMachState::unwindLazyState (#10888)
1 parent 0eb8613 commit b5e4d03

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/vm/i386/gmsx86.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,10 +1295,10 @@ void LazyMachState::unwindLazyState(LazyMachState* baseState,
12951295
ctx.Esi = lazyState->_esi = baseState->_esi;
12961296
ctx.Ebx = lazyState->_ebx = baseState->_ebx;
12971297

1298-
nonVolRegPtrs.Edi = &(lazyState->_edi);
1299-
nonVolRegPtrs.Esi = &(lazyState->_esi);
1300-
nonVolRegPtrs.Ebx = &(lazyState->_ebx);
1301-
nonVolRegPtrs.Ebp = &(lazyState->_ebp);
1298+
nonVolRegPtrs.Edi = &(baseState->_edi);
1299+
nonVolRegPtrs.Esi = &(baseState->_esi);
1300+
nonVolRegPtrs.Ebx = &(baseState->_ebx);
1301+
nonVolRegPtrs.Ebp = &(baseState->_ebp);
13021302

13031303
PCODE pvControlPc;
13041304

0 commit comments

Comments
 (0)