Introducing number chunk for storage of temporary (stack-only) number operands.

This commit is contained in:
Ruben Ayrapetyan
2014-12-09 18:24:16 +03:00
parent 1182f7bbfe
commit 2c86712e21
5 changed files with 60 additions and 73 deletions
+1
View File
@@ -80,6 +80,7 @@ typedef struct
idx_t min_reg_num; /**< minimum idx used for register identification */
idx_t max_reg_num; /**< maximum idx used for register identification */
ecma_value_t *regs_p; /**< register variables */
ecma_number_t* tmp_num_p; /**< an allocated number (to reduce temporary allocations) */
#ifdef MEM_STATS
size_t context_peak_allocated_heap_bytes;