1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-17 05:23:52 +02:00

Test updates

This commit is contained in:
Brian Fiete 2020-05-22 06:40:06 -07:00
parent adbae6f1d4
commit 639430b41c
7 changed files with 73 additions and 29 deletions

View file

@ -1457,7 +1457,10 @@ bool BFGC::ScanThreads()
mQueueMarkObjects = true;
ConservativeScan(regVals, regValCount * sizeof(intptr));
thread->CalcStackStart();
intptr prevStackStart = thread->mStackStart;
thread->CalcStackStart();
thread->mLastStackPtr = stackPtr;
int length = thread->mStackStart - stackPtr;
AdjustStackPtr(stackPtr, length);