pike.git / src / code / sparc.c

version» Context lines:

pike.git/src/code/sparc.c:1:   /*   || 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: sparc.c,v 1.34 2003/02/16 13:33:42 mast Exp $ + || $Id: sparc.c,v 1.35 2003/04/18 15:41:12 mast Exp $   */      /*    * Machine code generator for sparc.    *    * Henrik Grubbström 20010720    */      #include "global.h"   #include "svalue.h"   #include "operators.h"   #include "object.h" -  + #include "builtin_functions.h"      /*    * Register definitions    */      #define SPARC_REG_G0 0   #define SPARC_REG_G1 1   #define SPARC_REG_G2 2   #define SPARC_REG_G3 3   #define SPARC_REG_G4 4
pike.git/src/code/sparc.c:594:       case F_EXIT_CATCH - F_OFFSET:    sparc_push_int(0, 1);    /* FALL_THROUGH */    case F_ESCAPE_CATCH - F_OFFSET:    sparc_escape_catch();    return;       case F_MAKE_ITERATOR - F_OFFSET:    { -  extern void f_Iterator(INT32); +     SET_REG(SPARC_REG_O0, 1);    delay_ok = 1; -  addr = (void *)f_Iterator; +  addr = (void *)f_get_iterator;    }    break;       case F_ADD - F_OFFSET:    SET_REG(SPARC_REG_O0, 2);    delay_ok = 1;    addr = (void *)f_add;    break;       /* F_ZERO_TYPE? */