Branch: Tag:

2002-11-11

2002-11-11 16:12:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some more OPCODE[01]_ALIAS()'es.

Rev: src/interpret_functions.h:1.115

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: interpret_functions.h,v 1.114 2002/11/10 20:19:18 grubba Exp $ + || $Id: interpret_functions.h,v 1.115 2002/11/11 16:12:52 grubba Exp $   */      /*
1414:    }   });    - OPCODE0(F_COMPL, "~", 0, { -  o_compl(); - }); + OPCODE0_ALIAS(F_COMPL, "~", 0, o_compl);      OPCODE0(F_NOT, "!", 0, {    switch(Pike_sp[-1].type)
1444:    }   });    - OPCODE0(F_LSH, "<<", 0, { -  o_lsh(); - }); + OPCODE0_ALIAS(F_LSH, "<<", 0, o_lsh); + OPCODE0_ALIAS(F_RSH, ">>", 0, o_rsh);    - OPCODE0(F_RSH, ">>", 0, { -  o_rsh(); - }); -  +    #define COMPARISON(ID,DESC,EXPR) \    OPCODE0(ID, DESC, 0, { \    INT32 val = EXPR; \