aboutsummaryrefslogtreecommitdiff
path: root/py/asmx86.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-10-13 15:13:55 +1100
committerDamien George <damien.p.george@gmail.com>2018-10-13 15:16:33 +1100
commit6bda951d4d71e4a18a7f30c032b70d143c5506cf (patch)
tree259e2450de2bfeabc744f6b17de74a9cc0d085e1 /py/asmx86.h
parent25571800fcd8e6b660c838092b339b496623d2be (diff)
py/emitnative: Remove unused ptr argument from ASM_CALL_IND macro.
Diffstat (limited to 'py/asmx86.h')
-rw-r--r--py/asmx86.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/asmx86.h b/py/asmx86.h
index 1e3d3170a..82a8629dd 100644
--- a/py/asmx86.h
+++ b/py/asmx86.h
@@ -175,7 +175,7 @@ void asm_x86_call_ind(asm_x86_t* as, size_t fun_id, mp_uint_t n_args, int temp_r
asm_x86_jcc_label(as, ASM_X86_CC_JE, label); \
} while (0)
#define ASM_JUMP_REG(as, reg) asm_x86_jmp_reg((as), (reg))
-#define ASM_CALL_IND(as, ptr, idx) asm_x86_call_ind(as, idx, mp_f_n_args[idx], ASM_X86_REG_EAX)
+#define ASM_CALL_IND(as, idx) asm_x86_call_ind(as, idx, mp_f_n_args[idx], ASM_X86_REG_EAX)
#define ASM_MOV_LOCAL_REG(as, local_num, reg_src) asm_x86_mov_r32_to_local((as), (reg_src), (local_num))
#define ASM_MOV_REG_IMM(as, reg_dest, imm) asm_x86_mov_i32_to_r32((as), (imm), (reg_dest))