pike.git / src / code / amd64.c

version» Context lines:

pike.git/src/code/amd64.c:1853:      void ins_f_byte(unsigned int b)   {    int flags;    void *addr;       LABELS();       b-=F_OFFSET;   #ifdef PIKE_DEBUG -  if(b>255) +  if(off > MAX_SUPPORTED_INSTR)    Pike_error("Instruction too big %d\n",b);   #endif    maybe_update_pc();       flags = instrs[b].flags;       addr=instrs[b].address;    switch(b + F_OFFSET)    {    case F_DUP:
pike.git/src/code/amd64.c:2854:      int amd64_ins_f_jump(unsigned int op, int backward_jump)   {    int flags;    void *addr;    int off = op - F_OFFSET;    int ret = -1;    LABELS();      #ifdef PIKE_DEBUG -  if(off>255) +  if(off > MAX_SUPPORTED_INSTR)    Pike_error("Instruction too big %d\n",off);   #endif    flags = instrs[off].flags;    if (!(flags & I_BRANCH)) return -1;      #define START_JUMP() do{ \    ins_debug_instr_prologue(off, 0, 0); \    if (backward_jump) { \    maybe_update_pc(); \    amd64_ins_branch_check_threads_etc(0); \