From 83161200c473293b2d8d69e3ee1899c6a7199e38 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Wed, 26 Mar 2014 16:22:31 -0300 Subject: 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. --- src/normal.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/normal.c') 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. */ -- cgit