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:
+1
-4
@@ -141,11 +141,8 @@ vm_op_set_value (ecma_value_t object, /**< base object */
|
||||
* Initialize interpreter.
|
||||
*/
|
||||
void
|
||||
vm_init (ecma_compiled_code_t *program_p, /**< pointer to byte-code data */
|
||||
bool dump_mem_stats) /**< dump per-instruction memory usage change statistics */
|
||||
vm_init (ecma_compiled_code_t *program_p) /**< pointer to byte-code data */
|
||||
{
|
||||
JERRY_ASSERT (!dump_mem_stats);
|
||||
|
||||
JERRY_ASSERT (__program == NULL);
|
||||
|
||||
__program = program_p;
|
||||
|
||||
Reference in New Issue
Block a user