Branch: Tag:

2004-05-13

2004-05-13 23:32:52 by Martin Nilsson <mani@lysator.liu.se>

Simplified type_field use

Rev: src/builtin.cmod:1.159
Rev: src/builtin_functions.c:1.554
Rev: src/docode.c:1.175
Rev: src/modules/Image/polyfill.c:1.48
Rev: src/modules/files/efuns.c:1.143
Rev: src/modules/files/file.c:1.320
Rev: src/signal_handler.c:1.297

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: docode.c,v 1.174 2004/01/22 23:17:27 nilsson Exp $ + || $Id: docode.c,v 1.175 2004/05/13 23:29:49 nilsson Exp $   */      #include "global.h" - RCSID("$Id: docode.c,v 1.174 2004/01/22 23:17:27 nilsson Exp $"); + RCSID("$Id: docode.c,v 1.175 2004/05/13 23:29:49 nilsson Exp $");   #include "las.h"   #include "program.h"   #include "pike_types.h"
2146:    switch(n->u.sval.type)    {    case T_ARRAY: -  array_fix_type_field(n->u.sval.u.array); -  if(n->u.sval.u.array -> type_field & BIT_COMPLEX) +  if(array_fix_type_field(n->u.sval.u.array) & BIT_COMPLEX)    emit0(F_COPY_VALUE);    break;