Branch: Tag:

2015-02-10

2015-02-10 16:08:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Improved output for #pragma disassemble.

5165:    union idptr tmp;    int args, vargs, ret;    struct svalue *foo; + #ifdef PIKE_DEBUG +  struct compilation *c = THIS_COMPILATION; + #endif       CHECK_COMPILER();   
5173:    check_tree(n, 0);      #ifdef PIKE_DEBUG -  if(a_flag > 1) +  if((a_flag > 1) || (c->lex.pragmas & ID_DISASSEMBLE))    fprintf(stderr, "Doing function '%s' at %lx\n", name->str,    DO_NOT_WARN((unsigned long)PIKE_PC));   #endif
5227:    tmp.c_fun != f_backtrace)    {   #ifdef PIKE_DEBUG -  struct compilation *c = THIS_COMPILATION; -  +     if(a_flag > 1)    fprintf(stderr,"%s:%ld: IDENTIFIER OPTIMIZATION %s == %s\n",    c->lex.current_file->str,