mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
Remove MEM_PROFILE related code
Code around `#ifdef MEM_PROFILE` was used to profile vim's memory comsumption. It's very likely broken as new code is using malloc() and free() directly. In this day and age, valgrind can solve in a much reliable way what this code was trying to do.
This commit is contained in:

committed by
Thiago de Arruda

parent
bd78282940
commit
83161200c4
@@ -20,13 +20,11 @@ void check_cursor_col_win(win_T *win);
|
||||
void check_cursor(void);
|
||||
void adjust_cursor_col(void);
|
||||
int leftcol_changed(void);
|
||||
void vim_mem_profile_dump(void);
|
||||
char_u *alloc(unsigned size);
|
||||
char_u *alloc_clear(unsigned size);
|
||||
char_u *alloc_check(unsigned size);
|
||||
char_u *lalloc_clear(long_u size, int message);
|
||||
char_u *lalloc(long_u size, int message);
|
||||
void *mem_realloc(void *ptr, size_t size);
|
||||
void do_outofmem_msg(long_u size);
|
||||
void free_all_mem(void);
|
||||
char_u *vim_strsave(char_u *string);
|
||||
|
Reference in New Issue
Block a user