Home
last modified time | relevance | path

Searched refs:context_top_p (Results 1 – 3 of 3) sorted by relevance

/third_party/jerryscript/jerry-core/vm/
Dvm-stack.c344 ecma_value_t *context_top_p = context_end_p + context_depth; in vm_ref_lex_env_chain() local
345 JERRY_ASSERT (context_top_p > context_end_p); in vm_ref_lex_env_chain()
349 if (context_top_p[-1] & VM_CONTEXT_HAS_LEX_ENV) in vm_ref_lex_env_chain()
366 uint32_t offsets = vm_get_context_value_offsets (context_top_p); in vm_ref_lex_env_chain()
374 ecma_ref_if_object (context_top_p[offset]); in vm_ref_lex_env_chain()
378 ecma_deref_if_object (context_top_p[offset]); in vm_ref_lex_env_chain()
384 JERRY_ASSERT (context_top_p >= context_end_p + offsets); in vm_ref_lex_env_chain()
385 context_top_p -= offsets; in vm_ref_lex_env_chain()
387 while (context_top_p > context_end_p); in vm_ref_lex_env_chain()
Dvm.c3587 …ecma_value_t *context_top_p = VM_GET_REGISTERS (frame_ctx_p) + register_end + frame_ctx_p->context… in vm_loop() local
3590 collection_p = ECMA_GET_INTERNAL_VALUE_POINTER (ecma_collection_t, context_top_p[-2]); in vm_loop()
3592 JERRY_ASSERT (VM_GET_CONTEXT_TYPE (context_top_p[-1]) == VM_CONTEXT_FOR_IN); in vm_loop()
3594 uint32_t index = context_top_p[-3]; in vm_loop()
3598 context_top_p[-3]++; in vm_loop()
3696 …ecma_value_t *context_top_p = VM_GET_REGISTERS (frame_ctx_p) + register_end + frame_ctx_p->context… in vm_loop() local
3697 JERRY_ASSERT (VM_GET_CONTEXT_TYPE (context_top_p[-1]) == VM_CONTEXT_FOR_OF); in vm_loop()
3699 ecma_value_t next_value = ecma_op_iterator_value (context_top_p[-2]); in vm_loop()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-gc.c899 ecma_value_t *context_top_p = register_p; in ecma_gc_free_executable_object() local
903 context_top_p[-1] &= (uint32_t) ~(VM_CONTEXT_HAS_LEX_ENV | VM_CONTEXT_CLOSE_ITERATOR); in ecma_gc_free_executable_object()
905 uint32_t offsets = vm_get_context_value_offsets (context_top_p); in ecma_gc_free_executable_object()
911 if (ecma_is_value_object (context_top_p[offset])) in ecma_gc_free_executable_object()
913 context_top_p[offset] = ECMA_VALUE_UNDEFINED; in ecma_gc_free_executable_object()
919 context_top_p = vm_stack_context_abort (&executable_object_p->frame_ctx, context_top_p); in ecma_gc_free_executable_object()
921 while (context_top_p > context_end_p); in ecma_gc_free_executable_object()