Branch: Tag:

2004-05-29

2004-05-29 18:19:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Moved declaration of argument variables to be more lenient to the C-compiler.

Rev: src/interpreter.h: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: interpreter.h,v 1.85 2003/08/06 18:05:27 mast Exp $ + || $Id: interpreter.h,v 1.86 2004/05/29 18:19:25 grubba Exp $   */      #undef LOW_GET_ARG
103:    debug_malloc_touch(Pike_fp);    while(1)    { +  INT32 arg1, arg2;    instr = pc[0];    Pike_fp->pc = pc++;   
151:      #define OPCODE0(OP, DESC, FLAGS, CODE) CASE(OP); CODE; DONE   #define OPCODE1(OP, DESC, FLAGS, CODE) CASE(OP); { \ -  INT32 arg1=GET_ARG(); \ +  arg1=GET_ARG(); \    FETCH; \    CODE; \    } DONE      #define OPCODE2(OP, DESC, FLAGS, CODE) CASE(OP); { \ -  INT32 arg1=GET_ARG(); \ -  INT32 arg2=GET_ARG2(); \ +  arg1=GET_ARG(); \ +  arg2=GET_ARG2(); \    FETCH; \    CODE; \    } DONE
193:    * the instruction itself.    */   #define OPCODE1_PTRJUMP(OP, DESC, FLAGS, CODE) CASE(OP); { \ -  INT32 arg1=GET_ARG(); \ +  arg1=GET_ARG(); \    FETCH; \    CODE; \    } DONE      #define OPCODE2_PTRJUMP(OP, DESC, FLAGS, CODE) CASE(OP); { \ -  INT32 arg1=GET_ARG(); \ -  INT32 arg2=GET_ARG2(); \ +  arg1=GET_ARG(); \ +  arg2=GET_ARG2(); \    FETCH; \    CODE; \    } DONE