Update of --mem-stats flag fix: leaving MEM_STATS definition only in jerry-core.
This commit is contained in:
@@ -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]))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user