Read function's scope flags only in ecma_op_create_function_object instead of call sites of the routine.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
@@ -31,7 +31,7 @@ extern bool ecma_is_constructor (ecma_value_t);
|
||||
|
||||
extern ecma_object_t *
|
||||
ecma_op_create_function_object (ecma_collection_header_t *, ecma_object_t *,
|
||||
bool, bool, const bytecode_data_header_t *, vm_instr_counter_t);
|
||||
bool, const bytecode_data_header_t *, vm_instr_counter_t);
|
||||
|
||||
extern void
|
||||
ecma_op_function_list_lazy_property_names (bool,
|
||||
@@ -60,7 +60,7 @@ ecma_op_function_has_instance (ecma_object_t *, ecma_value_t);
|
||||
|
||||
extern ecma_completion_value_t
|
||||
ecma_op_function_declaration (ecma_object_t *, ecma_string_t *, const bytecode_data_header_t *, vm_instr_counter_t,
|
||||
ecma_collection_header_t *, bool, bool, bool);
|
||||
ecma_collection_header_t *, bool, bool);
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
||||
Reference in New Issue
Block a user