Branch: Tag:

2007-10-06

2007-10-06 13:45:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The shared nodes hash table (and its associated functions) is no more.

Rev: src/docode.c:1.190
Rev: src/language.yacc:1.385
Rev: src/las.c:1.393
Rev: src/las.h:1.74
Rev: src/module.c:1.46
Rev: src/pike_embed.c:1.14
Rev: src/treeopt.in:1.86

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: language.yacc,v 1.384 2007/10/06 09:59:05 grubba Exp $ + || $Id: language.yacc,v 1.385 2007/10/06 13:45:22 grubba Exp $   */      %pure_parser
662:      block_or_semi: block    { -  $$ = check_node_hash(mknode(F_COMMA_EXPR,$1,mknode(F_RETURN,mkintnode(0),0))); +  $$ = mknode(F_COMMA_EXPR,$1,mknode(F_RETURN,mkintnode(0),0));    COPY_LINE_NUMBER_INFO($$, $1);    }    | ';' { $$ = NULL; }
674:   type_or_error: simple_type    {   #ifdef PIKE_DEBUG -  check_type_string(check_node_hash($1)->u.sval.u.type); +  check_type_string($1->u.sval.u.type);   #endif /* PIKE_DEBUG */    if(Pike_compiler->compiler_frame->current_type)    free_type(Pike_compiler->compiler_frame->current_type);
904:    * set current_function_number for local functions as well    */    Pike_compiler->compiler_frame->current_function_number= -  define_function(check_node_hash($5)->u.sval.u.string, -  check_node_hash($<n>$)->u.sval.u.type, +  define_function($5->u.sval.u.string, +  $<n>$->u.sval.u.type,    $1 & (~ID_EXTERN),    IDENTIFIER_PIKE_FUNCTION |    (Pike_compiler->varargs?IDENTIFIER_VARARGS:0),
1026:    lex.current_file = f;    }    -  f=dooptcode(check_node_hash($5)->u.sval.u.string, -  check_node_hash($12), -  check_node_hash($<n>11)->u.sval.u.type, -  $1); +  f=dooptcode($5->u.sval.u.string, $12, $<n>11->u.sval.u.type, $1);       i = ID_FROM_INT(Pike_compiler->new_program, f);    i->opt_flags = Pike_compiler->compiler_frame->opt_flags;
2647:       /* Fifth: Define the function. */    -  f=dooptcode(create_string, check_node_hash(create_code), -  type, ID_STATIC); +  f=dooptcode(create_string, create_code, type, ID_STATIC);      #ifdef PIKE_DEBUG    if(Pike_interpreter.recoveries &&