mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-15 03:11:54 -07:00
Fixing leftover sizeof(addr) that should've been changed to sizeof(word).
Copied from Perforce Change: 189319 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
ed561e855a
commit
f84e1d8f7e
4 changed files with 4 additions and 4 deletions
|
|
@ -264,7 +264,7 @@ Res ThreadScan(ScanState ss, Thread thread, Word *stackBot,
|
|||
|
||||
stackPtr = MutatorFaultContextSP(mfc);
|
||||
/* .stack.align */
|
||||
stackBase = (Word *)AddrAlignUp(stackPtr, sizeof(Addr));
|
||||
stackBase = (Word *)AddrAlignUp(stackPtr, sizeof(Word));
|
||||
stackLimit = stackBot;
|
||||
if (stackBase >= stackLimit)
|
||||
return ResOK; /* .stack.below-bottom */
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ Res ThreadScan(ScanState ss, Thread thread, Word *stackBot,
|
|||
|
||||
stackPtr = (Addr)context.Esp; /* .i3.sp */
|
||||
/* .stack.align */
|
||||
stackBase = (Word *)AddrAlignUp(stackPtr, sizeof(Addr));
|
||||
stackBase = (Word *)AddrAlignUp(stackPtr, sizeof(Word));
|
||||
stackLimit = stackBot;
|
||||
if (stackBase >= stackLimit)
|
||||
return ResOK; /* .stack.below-bottom */
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ Res ThreadScan(ScanState ss, Thread thread, Word *stackBot,
|
|||
|
||||
stackPtr = (Addr)context.Rsp; /* .i6.sp */
|
||||
/* .stack.align */
|
||||
stackBase = (Word *)AddrAlignUp(stackPtr, sizeof(Addr));
|
||||
stackBase = (Word *)AddrAlignUp(stackPtr, sizeof(Word));
|
||||
stackLimit = stackBot;
|
||||
if (stackBase >= stackLimit)
|
||||
return ResOK; /* .stack.below-bottom */
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ Res ThreadScan(ScanState ss, Thread thread, Word *stackBot,
|
|||
|
||||
stackPtr = MutatorFaultContextSP(&mfcStruct);
|
||||
/* .stack.align */
|
||||
stackBase = (Word *)AddrAlignUp(stackPtr, sizeof(Addr));
|
||||
stackBase = (Word *)AddrAlignUp(stackPtr, sizeof(Word));
|
||||
stackLimit = stackBot;
|
||||
if (stackBase >= stackLimit)
|
||||
return ResOK; /* .stack.below-bottom */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue