Lines Matching refs:scope
80 static void dump_scope(scope_t *scope);
81 static void emit_patch(scope_t *scope, int patch);
461 dump_scope(scope_t *scope) in dump_scope() argument
468 emit_patch(scope, 0); in dump_scope()
473 cur_scope = TAILQ_FIRST(&scope->inner_scope); in dump_scope()
485 emit_patch(scope, 1); in dump_scope()
489 emit_patch(scope_t *scope, int patch) in emit_patch() argument
494 pinfo = &scope->patches[patch]; in emit_patch()
508 new_patch->patch_func = scope->func_num; in emit_patch()
509 new_patch->begin = scope->begin_addr; in emit_patch()
512 new_patch->begin = scope->end_addr; in emit_patch()
781 process_scope(scope_t *scope) in process_scope() argument
792 cur_scope = TAILQ_LAST(&scope->inner_scope, scope_tailq); in process_scope()
825 scope->inner_scope_patches += skip_patch_count; in process_scope()