Branch: Tag:

2001-07-24

2001-07-24 17:26:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added ENTRY_PROLOGUE_SIZE, and added a prologue for sparc.

Rev: src/code/README.txt:1.9
Rev: src/code/sparc.h:1.7
Rev: src/interpret.c:1.232

5:   \*/   /**/   #include "global.h" - RCSID("$Id: interpret.c,v 1.231 2001/07/24 12:33:48 grubba Exp $"); + RCSID("$Id: interpret.c,v 1.232 2001/07/24 17:26:40 grubba Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"
1493:    new_frame->save_mark_sp=Pike_mark_sp;    new_frame->mark_sp_base=Pike_mark_sp;    check_threads_etc(); -  new_frame->pc = pc; +  new_frame->pc = pc + #ifdef ENTRY_PROLOGUE_SIZE +  + ENTRY_PROLOGUE_SIZE + #endif /* ENTRY_PROLOGUE_SIZE */ +  ;    return 1;    }    }
1657:   {    if(low_mega_apply(type, args, arg1, arg2))    { -  eval_instruction(Pike_fp->pc); +  eval_instruction(Pike_fp->pc + #ifdef ENTRY_PROLOGUE_SIZE +  - ENTRY_PROLOGUE_SIZE + #endif /* ENTRY_PROLOGUE_SIZE */ +  );    low_return();    }   }