Branch: Tag:

2013-07-06

2013-07-06 16:47:12 by Jonas Walldén <jonasw@roxen.com>

Reshuffle labels to avoid "Branch 130 too far" message seen after ba7d5e1fb6e8.

2091:    amd64_load_sp_reg();    mov_mem8_reg( sp_reg, -4*sizeof(struct svalue), REG_RBX );    cmp_reg32_imm( REG_RBX, PIKE_T_ARRAY ); -  jne(&label_D); +  je(&label_D); +  /* Bad arg 1. Let the C opcode throw the error. */ +  amd64_call_c_opcode(instrs[off].address, flags); +  /* NOT_REACHED */ +  +  LABEL_D;    mov_mem_reg( sp_reg, -1*sizeof(struct svalue)+8, REG_RAX );    mov_mem_reg( sp_reg, -4*sizeof(struct svalue)+8, REG_RBX );    mov_mem32_reg( REG_RBX, OFFSETOF(array,size), REG_RCX );
2130:    add_imm_mem( 1, REG_RCX, OFFSETOF(pike_string, refs));    jmp( &label_B );    -  LABEL_D; -  /* Bad arg 1. Let the C opcode throw the error. */ -  amd64_call_c_opcode(instrs[off].address, flags); -  /* NOT_REACHED */ -  +     LABEL_C;    add_reg_imm_reg( sp_reg, -3*sizeof(struct svalue), ARG1_REG );    mov_reg_reg( REG_RBX, ARG2_REG );