Searched refs:new_object_p (Results 1 – 2 of 2) sorted by relevance
78 ecma_object_t *new_object_p; in ecma_create_object() local82 new_object_p = (ecma_object_t *) ecma_alloc_extended_object (ext_object_size); in ecma_create_object()86 new_object_p = ecma_alloc_object (); in ecma_create_object()89 new_object_p->type_flags_refs = (uint16_t) (type | ECMA_OBJECT_FLAG_EXTENSIBLE); in ecma_create_object()91 ecma_init_gc_info (new_object_p); in ecma_create_object()93 new_object_p->u1.property_list_cp = JMEM_CP_NULL; in ecma_create_object()95 ECMA_SET_POINTER (new_object_p->u2.prototype_cp, prototype_object_p); in ecma_create_object()97 return new_object_p; in ecma_create_object()
231 ecma_object_t *new_object_p = ecma_create_object (proto_obj_p, in ecma_op_regexp_alloc() local239 ecma_extended_object_t *regexp_obj_p = (ecma_extended_object_t *) new_object_p; in ecma_op_regexp_alloc()244 ecma_value_t status = ecma_builtin_helper_def_prop (new_object_p, in ecma_op_regexp_alloc()251 return new_object_p; in ecma_op_regexp_alloc()