diff options
| author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-03-02 11:20:50 +0900 |
|---|---|---|
| committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-03-04 12:30:42 +0900 |
| commit | 97fa6468dc3b2e8be4a95caebbad54d5ddacec86 (patch) | |
| tree | fe80fc2fbfb6a007bf722d2ae59464f62055d6c9 | |
| parent | ce586107d8da0d6dff1a62d500be1bc2c1cbe9b4 (diff) | |
fix compile error w/ -DCALC_EXACT_MALLOC_SIZE
| -rw-r--r-- | gc.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -9872,8 +9872,6 @@ objspace_malloc_fixup(rb_objspace_t *objspace, void *mem, size_t size) info->gen = objspace->profile.count; info->file = ruby_malloc_info_file; info->line = info->file ? ruby_malloc_info_line : 0; -#else - info->file = NULL; #endif mem = info + 1; } @@ -10269,8 +10267,6 @@ ruby_mimmalloc(size_t size) info->gen = 0; info->file = NULL; info->line = 0; -#else - info->file = NULL; #endif mem = info + 1; } |
