Branch: Tag:

2003-12-09

2003-12-09 17:44:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Various machinecode fixes (mainly for ppc32) backported from Pike 7.5.

Rev: src/code/ppc32.c:1.32
Rev: src/code/ppc32.h:1.22
Rev: src/interpret.c:1.296
Rev: src/interpret.h:1.123
Rev: src/pikecode.c:1.8

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.c,v 1.295 2003/10/20 13:15:58 mast Exp $ + || $Id: interpret.c,v 1.296 2003/12/09 17:44:59 grubba Exp $   */      #include "global.h" - RCSID("$Id: interpret.c,v 1.295 2003/10/20 13:15:58 mast Exp $"); + RCSID("$Id: interpret.c,v 1.296 2003/12/09 17:44:59 grubba Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"
977:    } while(0)   #endif /* !CALL_MACHINE_CODE */    + #if defined(OPCODE_INLINE_BRANCH) || defined(INS_F_JUMP) || \ +  defined(INS_F_JUMP_WITH_ARG) || defined(INS_F_JUMP_WITH_TWO_ARGS) + /* Intended to be called from machine code on backward branch jumps, +  * to ensure thread switching. */ + void branch_check_threads_etc() + { +  fast_check_threads_etc (6); + } + #endif +    #ifdef PIKE_DEBUG      static void debug_instr_prologue (PIKE_INSTR_T instr)