mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-16 23:27:17 +02:00
Update fixupBoehmStackPointer doc
lo might have made sense in the bdwgc code, maybe?, but not here.
This commit is contained in:
parent
907b0a371a
commit
68693276f9
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ void fixupBoehmStackPointer(void ** sp_ptr, void * _pthread_id)
|
||||||
osStackBase = (char *) osStackLimit + osStackSize;
|
osStackBase = (char *) osStackLimit + osStackSize;
|
||||||
// NOTE: We assume the stack grows down, as it does on all architectures we support.
|
// NOTE: We assume the stack grows down, as it does on all architectures we support.
|
||||||
// Architectures that grow the stack up are rare.
|
// 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;
|
sp = osStackLimit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue