Home
last modified time | relevance | path

Searched refs:context_depth (Results 1 – 8 of 8) sorted by relevance

/third_party/jerryscript/jerry-core/vm/
Dvm-stack.c64 VM_MINUS_EQUAL_U16 (frame_ctx_p->context_depth, PARSER_TRY_CONTEXT_STACK_ALLOCATION); in vm_stack_context_abort()
73 VM_MINUS_EQUAL_U16 (frame_ctx_p->context_depth, PARSER_WITH_CONTEXT_STACK_ALLOCATION); in vm_stack_context_abort()
89 VM_MINUS_EQUAL_U16 (frame_ctx_p->context_depth, PARSER_FOR_OF_CONTEXT_STACK_ALLOCATION); in vm_stack_context_abort()
112 VM_MINUS_EQUAL_U16 (frame_ctx_p->context_depth, PARSER_FOR_IN_CONTEXT_STACK_ALLOCATION); in vm_stack_context_abort()
174 while (frame_ctx_p->context_depth > 0) in vm_stack_find_finally()
238 VM_MINUS_EQUAL_U16 (frame_ctx_p->context_depth, PARSER_TRY_CONTEXT_STACK_ALLOCATION); in vm_stack_find_finally()
258 VM_MINUS_EQUAL_U16 (frame_ctx_p->context_depth, PARSER_TRY_CONTEXT_STACK_ALLOCATION); in vm_stack_find_finally()
340 uint16_t context_depth, /**< depth of function context */ in vm_ref_lex_env_chain() argument
344 ecma_value_t *context_top_p = context_end_p + context_depth; in vm_ref_lex_env_chain()
Dvm.c2169 …lue_t *stack_bottom_p = VM_GET_REGISTERS (frame_ctx_p) + register_end + frame_ctx_p->context_depth; in vm_loop()
3456 … stack_context_top_p = VM_GET_REGISTERS (frame_ctx_p) + register_end + frame_ctx_p->context_depth; in vm_loop()
3472 VM_PLUS_EQUAL_U16 (frame_ctx_p->context_depth, PARSER_BLOCK_CONTEXT_STACK_ALLOCATION); in vm_loop()
3509 …JERRY_ASSERT (VM_GET_REGISTERS (frame_ctx_p) + register_end + frame_ctx_p->context_depth == stack_… in vm_loop()
3526 VM_PLUS_EQUAL_U16 (frame_ctx_p->context_depth, PARSER_WITH_CONTEXT_STACK_ALLOCATION); in vm_loop()
3539 …JERRY_ASSERT (VM_GET_REGISTERS (frame_ctx_p) + register_end + frame_ctx_p->context_depth == stack_… in vm_loop()
3569 VM_PLUS_EQUAL_U16 (frame_ctx_p->context_depth, PARSER_FOR_IN_CONTEXT_STACK_ALLOCATION); in vm_loop()
3587 …alue_t *context_top_p = VM_GET_REGISTERS (frame_ctx_p) + register_end + frame_ctx_p->context_depth; in vm_loop()
3603 …JERRY_ASSERT (VM_GET_REGISTERS (frame_ctx_p) + register_end + frame_ctx_p->context_depth == stack_… in vm_loop()
3637 VM_MINUS_EQUAL_U16 (frame_ctx_p->context_depth, PARSER_FOR_IN_CONTEXT_STACK_ALLOCATION); in vm_loop()
[all …]
Dopcodes.c614 JERRY_ASSERT (frame_ctx_p->context_depth == 0); in opfunc_create_executable_object()
671 if (executable_object_p->frame_ctx.context_depth > 0) in opfunc_resume_executable_object()
674 executable_object_p->frame_ctx.context_depth, in opfunc_resume_executable_object()
678 register_p += executable_object_p->frame_ctx.context_depth; in opfunc_resume_executable_object()
725 if (executable_object_p->frame_ctx.context_depth > 0) in opfunc_resume_executable_object()
728 executable_object_p->frame_ctx.context_depth, in opfunc_resume_executable_object()
732 register_p += executable_object_p->frame_ctx.context_depth; in opfunc_resume_executable_object()
Dvm-defines.h61 uint16_t context_depth; /**< current context depth */ member
Dvm-stack.h105 void vm_ref_lex_env_chain (ecma_object_t *lex_env_p, uint16_t context_depth,
/third_party/python/Lib/idlelib/
Dcodecontext.py80 cls.context_depth = idleConf.GetOption("extensions", "CodeContext",
210 context_strings = [x[2] for x in self.info[-self.context_depth:]]
235 offset = max(1, lines - self.context_depth) - 1
/third_party/python/Lib/idlelib/idle_test/
Dtest_codecontext.py135 self.assertEqual(self.cc.context_depth, 15)
280 cc.context_depth = 1
327 cc.context_depth = 2
/third_party/jerryscript/jerry-core/ecma/base/
Decma-gc.c484 register_p += executable_object_p->frame_ctx.context_depth; in ecma_gc_mark_executable_object()
893 if (executable_object_p->frame_ctx.context_depth > 0) in ecma_gc_free_executable_object()
897 register_p += executable_object_p->frame_ctx.context_depth; in ecma_gc_free_executable_object()