diff options
| author | Damien George <damien.p.george@gmail.com> | 2018-10-13 15:08:31 +1100 | 
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2018-10-13 15:16:33 +1100 | 
| commit | 25571800fcd8e6b660c838092b339b496623d2be (patch) | |
| tree | 351edc7957ebd70607359fb92185cb7332e0dda4 /py/asmthumb.h | |
| parent | 5f1dd5b86bac0c857e9615fdd19bf2c0565b18f2 (diff) | |
py/asmthumb: Remove unused fun_ptr arg from asm_thumb_bl_ind function.
Diffstat (limited to 'py/asmthumb.h')
| -rw-r--r-- | py/asmthumb.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/py/asmthumb.h b/py/asmthumb.h index 0fd39120e..8db350fd0 100644 --- a/py/asmthumb.h +++ b/py/asmthumb.h @@ -259,7 +259,7 @@ void asm_thumb_ldr_reg_reg_i12_optimised(asm_thumb_t *as, uint reg_dest, uint re  void asm_thumb_b_label(asm_thumb_t *as, uint label); // convenience: picks narrow or wide branch  void asm_thumb_bcc_label(asm_thumb_t *as, int cc, uint label); // convenience: picks narrow or wide branch -void asm_thumb_bl_ind(asm_thumb_t *as, void *fun_ptr, uint fun_id, uint reg_temp); // convenience +void asm_thumb_bl_ind(asm_thumb_t *as, uint fun_id, uint reg_temp); // convenience  // Holds a pointer to mp_fun_table  #define ASM_THUMB_REG_FUN_TABLE ASM_THUMB_REG_R7 @@ -311,7 +311,7 @@ void asm_thumb_bl_ind(asm_thumb_t *as, void *fun_ptr, uint fun_id, uint reg_temp          asm_thumb_bcc_label(as, ASM_THUMB_CC_EQ, label); \      } while (0)  #define ASM_JUMP_REG(as, reg) asm_thumb_bx_reg((as), (reg)) -#define ASM_CALL_IND(as, ptr, idx) asm_thumb_bl_ind(as, ptr, idx, ASM_THUMB_REG_R3) +#define ASM_CALL_IND(as, ptr, idx) asm_thumb_bl_ind(as, idx, ASM_THUMB_REG_R3)  #define ASM_MOV_LOCAL_REG(as, local_num, reg) asm_thumb_mov_local_reg((as), (local_num), (reg))  #define ASM_MOV_REG_IMM(as, reg_dest, imm) asm_thumb_mov_reg_i32_optimised((as), (reg_dest), (imm))  | 
