summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2021-06-17 10:19:33 -0400
committerPeter Zhu <peter@peterzhu.ca>2021-06-17 10:58:48 -0400
commitc639b58823cd8cc62853acf00a49b67ac359ea73 (patch)
tree0df47f929c30c8dcc100c72ed38be7c093e139e0 /node.h
parent95ef5459978300e4a3bbbeb1bd6cd86d040db168 (diff)
Refactor heap_set_increment
heap_set_increment essentially only calls heap_allocatable_pages_set. They only differ in behaviour when `additional_pages == 0`. However, this is only possible because heap_extend_pages may return 0. This commit also changes heap_extend_pages to always return at least 1.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4580
Diffstat (limited to 'node.h')
0 files changed, 0 insertions, 0 deletions