summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-03-22 07:28:46 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-03-22 09:29:53 +0300
commit276a0e7cbc87d4217d7eabf58b3421e5b29f1349 (patch)
tree5bf3f317c77c0d103f0b6020b4e47a08f6dcac93 /malloc.c
parent5480d3dbdff91c6ee119f716ba0d0be626b0d84e (diff)
downloadbdwgc-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 'malloc.c')
0 files changed, 0 insertions, 0 deletions