Branch: Tag:


2016-09-25 19:38:48 by Arne Goedeke <>

Compiler: make whole program executable

Some machine code backends generate commonly used at the beginning of a
program and jump there from other opcodes. To make constant evaluation
work we need to flush instruction caches for the full program.

4971:    foo.yes=0;      #ifdef PIKE_USE_MACHINE_CODE -  make_area_executable ((char *) (prog->program + num_program), -  (prog->num_program - num_program) * +  make_area_executable ((char *) prog->program, +  (prog->num_program) *    sizeof (prog->program[0]));   #endif