Partial implementation of [[Construct]] routine for Function objects

This commit is contained in:
Ruben Ayrapetyan
2014-08-22 16:54:23 +04:00
parent 50a1532801
commit 5713373279
2 changed files with 95 additions and 0 deletions
@@ -40,6 +40,10 @@ extern ecma_completion_value_t ecma_op_function_call (ecma_object_t *func_obj_p,
ecma_value_t* arguments_list_p,
ecma_length_t arguments_list_len);
extern ecma_completion_value_t ecma_op_function_construct (ecma_object_t *func_obj_p,
ecma_value_t* arguments_list_p,
ecma_length_t arguments_list_len);
extern ecma_completion_value_t
ecma_op_function_declaration (ecma_object_t *lex_env_p,
ecma_string_t *function_name_p,