#ifdef _WIN64
// Windows calling convention
- const Register arg_reg_1 = rcx;
- const Register arg_reg_2 = rdx;
- const Register arg_reg_3 = r8;
- const Register arg_reg_4 = r9;
+ const Register arg_reg_1 = { kRegister_rcx_Code };
+ const Register arg_reg_2 = { kRegister_rdx_Code };
+ const Register arg_reg_3 = { kRegister_r8_Code };
+ const Register arg_reg_4 = { kRegister_r9_Code };
#else
// AMD64 calling convention
- const Register arg_reg_1 = rdi;
- const Register arg_reg_2 = rsi;
- const Register arg_reg_3 = rdx;
- const Register arg_reg_4 = rcx;
+ const Register arg_reg_1 = { kRegister_rdi_Code };
+ const Register arg_reg_2 = { kRegister_rsi_Code };
+ const Register arg_reg_3 = { kRegister_rdx_Code };
+ const Register arg_reg_4 = { kRegister_rcx_Code };
#endif // _WIN64
struct XMMRegister {