pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:1761:         #include "program_areas.h"         #define add_to_program(ARG) do { \    debug_malloc_touch(Pike_compiler->new_program->program); \    add_to_program(ARG); \    } while(0)    - void ins_int(INT32 i, void (*func)(char tmp)) + void ins_int(INT32 i, void (*func)(unsigned char tmp))   {    int e;    unsigned char *p = (unsigned char *)&i;    for(e=0;e<(long)sizeof(i);e++) {    func(p[e]);    }   }         #if 0
pike.git/src/program.c:1875:       n = Pike_compiler->new_program->num_identifier_references;    add_to_identifier_references(ref);       return n;   }      void add_relocated_int_to_program(INT32 i)   {    add_to_relocations(Pike_compiler->new_program->num_program); -  ins_int(i, (void (*)(char))add_to_program); +  ins_int(i, add_to_program);   }      void use_module(struct svalue *s)   {    struct compilation *c = THIS_COMPILATION;    if( (1<<TYPEOF(*s)) & (BIT_MAPPING | BIT_OBJECT | BIT_PROGRAM))    {    c->num_used_modules++;    Pike_compiler->num_used_modules++;    assign_svalue_no_free((struct svalue *)