diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2014-03-26 16:22:31 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-26 18:29:17 -0300 |
commit | 83161200c473293b2d8d69e3ee1899c6a7199e38 (patch) | |
tree | 8223ec9275425e55acfb3cf0ce61948c59b090f6 /src/normal.c | |
parent | bd78282940b246bad34c629fa81150d4073cc330 (diff) | |
download | rneovim-83161200c473293b2d8d69e3ee1899c6a7199e38.tar.gz rneovim-83161200c473293b2d8d69e3ee1899c6a7199e38.tar.bz2 rneovim-83161200c473293b2d8d69e3ee1899c6a7199e38.zip |
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.
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/normal.c b/src/normal.c index 1c06f998bc..6e6875b244 100644 --- a/src/normal.c +++ b/src/normal.c @@ -6129,15 +6129,6 @@ static void nv_g_cmd(cmdarg_T *cap) int flag = FALSE; switch (cap->nchar) { -#ifdef MEM_PROFILE - /* - * "g^A": dump log of used memory. - */ - case Ctrl_A: - vim_mem_profile_dump(); - break; -#endif - /* * "gR": Enter virtual replace mode. */ |