pike.git / src / program.c

version» Context lines:

pike.git/src/program.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: program.c,v 1.498 2005/08/14 11:27:24 jonasw Exp $ + || $Id: program.c,v 1.499 2005/11/01 21:53:24 jonasw Exp $   */      #include "global.h" - RCSID("$Id: program.c,v 1.498 2005/08/14 11:27:24 jonasw Exp $"); + RCSID("$Id: program.c,v 1.499 2005/11/01 21:53:24 jonasw Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"   #include "pike_types.h"   #include "stralloc.h"   #include "las.h"   #include "language.h"   #include "lex.h"   #include "pike_macros.h"   #include "fsort.h"
pike.git/src/program.c:7307:   }      #ifdef PIKE_USE_MACHINE_CODE      #ifdef HAVE_SYS_MMAN_H   #include <sys/mman.h>   #endif      void make_program_executable(struct program *p)   { + #if !defined(HAVE_MMAP) || !defined(MEXEC_USES_MMAP)    mprotect((void *)p->program, p->num_program*sizeof(p->program[0]),    PROT_EXEC | PROT_READ | PROT_WRITE); -  + #endif /* !HAVE_MMAP || !MEXEC_USES_MMAP */ +    #ifdef FLUSH_INSTRUCTION_CACHE    FLUSH_INSTRUCTION_CACHE(p->program,    p->num_program*sizeof(p->program[0]));   #endif /* FLUSH_INSTRUCTION_CACHE */   }   #endif