Home
last modified time | relevance | path

Searched refs:this_binding (Results 1 – 9 of 9) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-lex-env.c468 ecma_value_t this_binding) /**< this binding value */ in ecma_op_init_this_binding() argument
471 JERRY_ASSERT (ecma_is_value_object (this_binding) || this_binding == ECMA_VALUE_UNINITIALIZED); in ecma_op_init_this_binding()
478 prop_value_p->value = this_binding; in ecma_op_init_this_binding()
547 ecma_value_t this_binding) /**< this binding value */ in ecma_op_bind_this_value() argument
550 JERRY_ASSERT (ecma_is_value_object (this_binding)); in ecma_op_bind_this_value()
553 ECMA_PROPERTY_VALUE_PTR (prop_p)->value = this_binding; in ecma_op_bind_this_value()
Decma-function-object.c443 ecma_value_t this_binding) /**< value of 'this' binding */ in ecma_op_create_arrow_function_object() argument
479 arrow_func_p->this_binding = ecma_copy_value_if_not_object (this_binding); in ecma_op_create_arrow_function_object()
795 ecma_value_t this_binding = this_arg_value; in ecma_op_function_call_simple() local
833 this_binding = arrow_func_p->this_binding; in ecma_op_function_call_simple()
841 if (ecma_is_value_undefined (this_binding) in ecma_op_function_call_simple()
842 || ecma_is_value_null (this_binding)) in ecma_op_function_call_simple()
845 this_binding = ecma_make_object_value (ecma_builtin_get_global ()); in ecma_op_function_call_simple()
847 else if (!ecma_is_value_object (this_binding)) in ecma_op_function_call_simple()
850 this_binding = ecma_op_to_object (this_binding); in ecma_op_function_call_simple()
853 JERRY_ASSERT (!ECMA_IS_VALUE_ERROR (this_binding)); in ecma_op_function_call_simple()
[all …]
Decma-lex-env.h73 ecma_op_init_this_binding (ecma_object_t *lex_env_p, ecma_value_t this_binding);
85 ecma_op_bind_this_value (ecma_property_t *prop_p, ecma_value_t this_binding);
Decma-function-object.h62 ecma_value_t this_binding);
/third_party/jerryscript/jerry-core/vm/
Dvm-defines.h50 ecma_value_t this_binding; /**< this binding */ member
Dopcodes.c635 new_frame_ctx_p->this_binding = ecma_copy_value_if_not_object (new_frame_ctx_p->this_binding); in opfunc_create_executable_object()
1217 …lue_t result = ecma_op_object_get_with_receiver (parent_p, prop_name_p, frame_ctx_p->this_binding); in opfunc_form_super_reference()
1228 *stack_top_p++ = ecma_copy_value (frame_ctx_p->this_binding); in opfunc_form_super_reference()
1272 frame_ctx_p->this_binding, in opfunc_assign_super_reference()
Dvm.c357 ecma_value_t this_binding; in vm_run_eval() local
363 this_binding = ecma_copy_value (JERRY_CONTEXT (vm_top_context_p)->this_binding); in vm_run_eval()
391 this_binding = ecma_make_object_value (global_obj_p); in vm_run_eval()
415 this_binding, in vm_run_eval()
421 ecma_free_value (this_binding); in vm_run_eval()
484 frame_ctx_p->this_binding); in vm_construct_literal_object()
630 frame_ctx_p->this_binding = completion_value; in vm_super_call()
1075 left_value = ecma_copy_value (frame_ctx_p->this_binding); in vm_loop()
1213 *stack_top_p++ = ecma_copy_value (frame_ctx_p->this_binding); in vm_loop()
2601 stack_top_p[-1] = ecma_copy_value (frame_ctx_p->this_binding); in vm_loop()
[all …]
/third_party/jerryscript/jerry-core/ecma/base/
Decma-gc.c452 if (ecma_is_value_object (executable_object_p->frame_ctx.this_binding)) in ecma_gc_mark_executable_object()
454 …a_gc_set_object_visited (ecma_get_object_from_value (executable_object_p->frame_ctx.this_binding)); in ecma_gc_mark_executable_object()
720 if (ecma_is_value_object (arrow_func_p->this_binding)) in ecma_gc_mark()
722 ecma_gc_set_object_visited (ecma_get_object_from_value (arrow_func_p->this_binding)); in ecma_gc_mark()
883 ecma_free_value_if_not_object (executable_object_p->frame_ctx.this_binding); in ecma_gc_free_executable_object()
1236 ecma_free_value_if_not_object (((ecma_arrow_function_t *) object_p)->this_binding); in ecma_gc_free_object()
Decma-globals.h992 ecma_value_t this_binding; /**< value of 'this' binding */ member