pike.git / src / las.c

version» Context lines:

pike.git/src/las.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.220 2000/10/02 14:16:01 grubba Exp $"); + RCSID("$Id: las.c,v 1.221 2000/10/03 18:18:29 grubba Exp $");      #include "language.h"   #include "interpret.h"   #include "las.h"   #include "array.h"   #include "object.h"   #include "stralloc.h"   #include "dynamic_buffer.h"   #include "lex.h"   #include "pike_types.h"
pike.git/src/las.c:966:    res->tree_info |= a->tree_info;    }    break;       default:    if(a) res->tree_info |= a->tree_info;    if(b) res->tree_info |= b->tree_info;    }       /* We try to optimize most things, but argument lists are hard... */ -  if(token != F_ARG_LIST && (a || b)) +  if((token != F_ARG_LIST) && (a || b))    res->node_info |= OPT_TRY_OPTIMIZE;       res->tree_info |= res->node_info;      #ifdef PIKE_DEBUG    if(d_flag > 3)    verify_shared_strings_tables();   #endif       check_tree(res,0); -  if(!Pike_compiler->num_parse_error && Pike_compiler->compiler_pass==2) +  if(!Pike_compiler->num_parse_error && Pike_compiler->compiler_pass==2 && +  (res->node_info & OPT_TRY_OPTIMIZE))    {    optimize(res);    check_tree(res,0);    }      #ifdef PIKE_DEBUG    if(d_flag > 3)    verify_shared_strings_tables();   #endif