Remove var_decls_count field from scopes_tree header; getting "var_decl"s count using linked_list_get_length instead.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
@@ -63,7 +63,6 @@ typedef struct
|
||||
linked_list instrs; /**< instructions */
|
||||
vm_instr_counter_t instrs_count; /**< count of instructions */
|
||||
linked_list var_decls; /**< instructions for variable declarations */
|
||||
uint8_t var_decls_cout; /**< number of instructions for variable declarations */
|
||||
scope_type_t type : 2; /**< scope type */
|
||||
bool strict_mode: 1; /**< flag, indicating that scope's code should be executed in strict mode */
|
||||
bool ref_arguments: 1; /**< flag, indicating that "arguments" variable is used inside the scope
|
||||
|
||||
Reference in New Issue
Block a user