Lines Matching refs:scope
80 static void dump_scope(scope_t *scope);
81 static void emit_patch(scope_t *scope, int patch);
460 dump_scope(scope_t *scope) in dump_scope() argument
467 emit_patch(scope, 0); in dump_scope()
472 cur_scope = TAILQ_FIRST(&scope->inner_scope); in dump_scope()
484 emit_patch(scope, 1); in dump_scope()
488 emit_patch(scope_t *scope, int patch) in emit_patch() argument
493 pinfo = &scope->patches[patch]; in emit_patch()
507 new_patch->patch_func = scope->func_num; in emit_patch()
508 new_patch->begin = scope->begin_addr; in emit_patch()
511 new_patch->begin = scope->end_addr; in emit_patch()
780 process_scope(scope_t *scope) in process_scope() argument
791 cur_scope = TAILQ_LAST(&scope->inner_scope, scope_tailq); in process_scope()
824 scope->inner_scope_patches += skip_patch_count; in process_scope()