Remove support for per-instruction memory statistics
The new CBC interpreter does not support it anymore, thus removing related code. (As a side-effect, `jerry_flag_t` has been refactored from `uint32_t` and associated defines to an enum.) JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -185,10 +185,6 @@ int jerryscript_entry (int argc, char *argv[])
|
||||
{
|
||||
flags |= JERRY_FLAG_MEM_STATS;
|
||||
}
|
||||
else if (!strcmp ("--mem-stats-per-opcode", argv[i]))
|
||||
{
|
||||
flags |= JERRY_FLAG_MEM_STATS_PER_OPCODE;
|
||||
}
|
||||
else if (!strcmp ("--mem-stats-separate", argv[i]))
|
||||
{
|
||||
flags |= JERRY_FLAG_MEM_STATS_SEPARATE;
|
||||
|
||||
Reference in New Issue
Block a user