Splitting ecma_create_lexical_environment to ecma_create_decl_lex_env and ecma_create_object_lex_env.

This commit is contained in:
Ruben Ayrapetyan
2014-07-31 14:48:28 +04:00
parent 16cab18ae9
commit c364461b80
4 changed files with 68 additions and 28 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ ecma_op_function_call( ecma_object_t *func_obj_p, /**< Function object */
}
// 5.
ecma_object_t *local_env_p = ecma_create_lexical_environment( scope_p, ECMA_LEXICAL_ENVIRONMENT_DECLARATIVE);
ecma_object_t *local_env_p = ecma_create_decl_lex_env( scope_p);
// 9.
/* Declaration binding instantiation (ECMA-262 v5, 10.5), block 4 */