pike.git / src / las.c

version» Context lines:

pike.git/src/las.c:4594:    CHECK_COMPILER();       optimize_node(n);       check_tree(n, 0);       if(   #ifdef PIKE_DEBUG    (a_flag > 1) ||   #endif -  (c->lex.pragmas & ID_DISASSEMBLE)) +  ((c->lex.pragmas & ID_DISASSEMBLE) && (Pike_compiler->compiler_pass==2)))    fprintf(stderr, "Doing function '%s' at %lx\n", name->str,    (unsigned long)PIKE_PC);       args=count_arguments(type); -  + #ifdef PIKE_DEBUG +  if((a_flag > 1) || (c->lex.pragmas & ID_DISASSEMBLE)) +  fprintf(stderr, "args: %d\n", args); + #endif +     if(args < 0)    {    args=~args;    vargs=IDENTIFIER_VARARGS;    }else{    vargs=0;    }       if(Pike_compiler->compiler_frame->lexical_scope & SCOPE_SCOPED)    vargs|=IDENTIFIER_SCOPED;       if(Pike_compiler->compiler_frame->lexical_scope & SCOPE_SCOPE_USED)    vargs|=IDENTIFIER_SCOPE_USED;      #ifdef PIKE_DEBUG -  if(a_flag > 5) +  if((a_flag > 1) || (c->lex.pragmas & ID_DISASSEMBLE))    fprintf(stderr, "Extra identifier flags:0x%02x\n", vargs);   #endif       if(Pike_compiler->compiler_pass==1)    {    tmp.offset=-1;   #ifdef PIKE_DEBUG    if(a_flag > 4)    {    fputs("Making prototype (pass 1) for: ", stderr);
pike.git/src/las.c:4695:    IDENTIFIER_HAS_BODY |    vargs),    NULL, (unsigned INT16)    (Pike_compiler->compiler_frame->opt_flags));    remove_clear_locals=args;    if(vargs) remove_clear_locals++;    tmp.offset=do_code_block(n, vargs);    remove_clear_locals=0x7fffffff;    Pike_compiler->compiler_frame->current_function_number = saved_fun_num;    } + #ifdef PIKE_DEBUG +  if(a_flag > 2) +  { +  fputs("Coded\n", stderr);    } -  + #endif +  }       ret=define_function(name,    type,    (unsigned INT16)modifiers,    (unsigned INT8)(IDENTIFIER_PIKE_FUNCTION |    IDENTIFIER_HAS_BODY |    vargs),    Pike_compiler->num_parse_error?NULL:&tmp,    (unsigned INT16)    (Pike_compiler->compiler_frame->opt_flags));         #ifdef PIKE_DEBUG    if(a_flag > 1)    fprintf(stderr,"Identifer = %d\n",ret);   #endif       free_node(n);    return ret;   }