1
Fork 0
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:
Richard Brooksby 2016-02-18 21:22:05 +00:00
parent ed561e855a
commit f84e1d8f7e
4 changed files with 4 additions and 4 deletions

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */