diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2023-03-22 07:28:46 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2023-03-22 09:29:53 +0300 |
commit | 276a0e7cbc87d4217d7eabf58b3421e5b29f1349 (patch) | |
tree | 5bf3f317c77c0d103f0b6020b4e47a08f6dcac93 /mallocx.c | |
parent | 5480d3dbdff91c6ee119f716ba0d0be626b0d84e (diff) | |
download | bdwgc-276a0e7cbc87d4217d7eabf58b3421e5b29f1349.tar.gz |
Avoid code duplication in GC_core_gcj_malloc
(refactoring)
* gcj_mlc.c (GENERAL_MALLOC_INNER): Remove.
* gcj_mlc.c (GC_core_gcj_malloc): Change type of lg local variable
from word to size_t and move it to outermost scope; call LOCK() before
SMALL_OBJ(lb); compute and set lg and op local variable inside
a conditional expression; expand GENERAL_MALLOC_INNER macro.
Diffstat (limited to 'mallocx.c')
0 files changed, 0 insertions, 0 deletions