aboutsummaryrefslogtreecommitdiff
path: root/py/asmx64.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/asmx64.h
parent25571800fcd8e6b660c838092b339b496623d2be (diff)
py/emitnative: Remove unused ptr argument from ASM_CALL_IND macro.
Diffstat (limited to 'py/asmx64.h')
-rw-r--r--py/asmx64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/asmx64.h b/py/asmx64.h
index 76e3ad556..1c8755a84 100644
--- a/py/asmx64.h
+++ b/py/asmx64.h
@@ -177,7 +177,7 @@ void asm_x64_call_ind(asm_x64_t* as, size_t fun_id, int temp_r32);
asm_x64_jcc_label(as, ASM_X64_CC_JE, label); \
} while (0)
#define ASM_JUMP_REG(as, reg) asm_x64_jmp_reg((as), (reg))
-#define ASM_CALL_IND(as, ptr, idx) asm_x64_call_ind(as, idx, ASM_X64_REG_RAX)
+#define ASM_CALL_IND(as, idx) asm_x64_call_ind(as, idx, ASM_X64_REG_RAX)
#define ASM_MOV_LOCAL_REG(as, local_num, reg_src) asm_x64_mov_r64_to_local((as), (reg_src), (local_num))
#define ASM_MOV_REG_IMM(as, reg_dest, imm) asm_x64_mov_i64_to_r64_optimised((as), (imm), (reg_dest))