Eliminate code duplication in memory statistics printing

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2016-02-04 18:14:22 +01:00
committed by László Langó
parent 2221c00ad9
commit 196e8196fc
3 changed files with 34 additions and 39 deletions
+1
View File
@@ -81,6 +81,7 @@ typedef struct
extern void mem_heap_get_stats (mem_heap_stats_t *);
extern void mem_heap_stats_reset_peak (void);
extern void mem_heap_stats_print (void);
#endif /* MEM_STATS */
#ifdef JERRY_VALGRIND_FREYA