Update fixupBoehmStackPointer doc

lo might have made sense in the bdwgc code, maybe?, but not here.
This commit is contained in:
Robert Hensing 2024-07-23 16:27:26 +02:00
parent 907b0a371a
commit 68693276f9

View file

@ -121,7 +121,7 @@ void fixupBoehmStackPointer(void ** sp_ptr, void * _pthread_id)
osStackBase = (char *) osStackLimit + osStackSize;
// NOTE: We assume the stack grows down, as it does on all architectures we support.
// Architectures that grow the stack up are rare.
if (sp >= osStackBase || sp < osStackLimit) { // lo is outside the os stack
if (sp >= osStackBase || sp < osStackLimit) { // sp is outside the os stack
sp = osStackLimit;
}
}