Update of --mem-stats flag fix: leaving MEM_STATS definition only in jerry-core.

This commit is contained in:
Ruben Ayrapetyan
2015-03-30 13:30:26 +03:00
parent ac7edde72e
commit eb7dce272a
8 changed files with 51 additions and 50 deletions
-4
View File
@@ -141,11 +141,7 @@ main (int argc,
}
else if (!strcmp ("--mem-stats", argv[i]))
{
#ifdef MEM_STATS
flags |= JERRY_FLAG_MEM_STATS;
#else /* MEM_STATS */
printf ("Ignoring --mem-stats because of '!MEM_STATS' build configuration.\n");
#endif /* !MEM_STATS */
}
else if (!strcmp ("--parse-only", argv[i]))
{