mirror of
https://github.com/louisrubet/rpn
synced 2025-01-28 19:58:01 +01:00
#63: light stack refactoring
This commit is contained in:
parent
ae6dcc4d67
commit
0e1c7a7c45
1 changed files with 0 additions and 1 deletions
|
@ -68,7 +68,6 @@ public:
|
||||||
{
|
{
|
||||||
// calc nb of needed pages
|
// calc nb of needed pages
|
||||||
unsigned long page_number = 1 + ((_current - _base) + size - _total_size) / ALLOC_STACK_CHUNK;
|
unsigned long page_number = 1 + ((_current - _base) + size - _total_size) / ALLOC_STACK_CHUNK;
|
||||||
current_offset = _current - _base;
|
|
||||||
_total_size += page_number * ALLOC_STACK_CHUNK;
|
_total_size += page_number * ALLOC_STACK_CHUNK;
|
||||||
|
|
||||||
old_base = _base;
|
old_base = _base;
|
||||||
|
|
Loading…
Add table
Reference in a new issue