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.c | |
parent | 5f1dd5b86bac0c857e9615fdd19bf2c0565b18f2 (diff) |
py/asmthumb: Remove unused fun_ptr arg from asm_thumb_bl_ind function.
Diffstat (limited to 'py/asmthumb.c')
-rw-r--r-- | py/asmthumb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/asmthumb.c b/py/asmthumb.c index 1ef09c78e..46102395d 100644 --- a/py/asmthumb.c +++ b/py/asmthumb.c @@ -381,7 +381,7 @@ void asm_thumb_bcc_label(asm_thumb_t *as, int cond, uint label) { #define OP_BLX(reg) (0x4780 | ((reg) << 3)) #define OP_SVC(arg) (0xdf00 | (arg)) -void asm_thumb_bl_ind(asm_thumb_t *as, void *fun_ptr, uint fun_id, uint reg_temp) { +void asm_thumb_bl_ind(asm_thumb_t *as, uint fun_id, uint reg_temp) { // Load ptr to function from table, indexed by fun_id, then call it asm_thumb_ldr_reg_reg_i12_optimised(as, reg_temp, ASM_THUMB_REG_FUN_TABLE, fun_id); asm_thumb_op16(as, OP_BLX(reg_temp)); |