Splitting ecma_create_lexical_environment to ecma_create_decl_lex_env and ecma_create_object_lex_env.

This commit is contained in:
Ruben Ayrapetyan committed 2014-07-31 14:48:28 +04:00
1 parent 16cab18ae9
commit c364461b80
4 files changed
+68 -28

No files matched your search

+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 */