Partial implementation of func_decl_0 opcode handler.

This commit is contained in:
Ruben Ayrapetyan
2014-07-30 15:40:41 +04:00
parent f05719d622
commit e6f0057456
2 changed files with 69 additions and 2 deletions
+1 -1
View File
@@ -58,9 +58,9 @@ ecma_op_create_function_object( const ecma_char_t* formal_parameter_list_p[], /*
// 6., 7.
TODO( Decide how to setup [[Call]] and [[Construct]] );
// 9.
ecma_ref_object( scope_p);
// 9.
ecma_property_t *scope_prop_p = ecma_create_internal_property( f, ECMA_INTERNAL_PROPERTY_SCOPE);
ecma_set_pointer( scope_prop_p->u.internal_property.value, scope_p);