Fix static initializers on x64

Review URL: https://codereview.chromium.org/14143009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14465 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 99e17bb1
...@@ -202,16 +202,16 @@ const Register no_reg = { kRegister_no_reg_Code }; ...@@ -202,16 +202,16 @@ const Register no_reg = { kRegister_no_reg_Code };
#ifdef _WIN64 #ifdef _WIN64
// Windows calling convention // Windows calling convention
const Register arg_reg_1 = rcx; const Register arg_reg_1 = { kRegister_rcx_Code };
const Register arg_reg_2 = rdx; const Register arg_reg_2 = { kRegister_rdx_Code };
const Register arg_reg_3 = r8; const Register arg_reg_3 = { kRegister_r8_Code };
const Register arg_reg_4 = r9; const Register arg_reg_4 = { kRegister_r9_Code };
#else #else
// AMD64 calling convention // AMD64 calling convention
const Register arg_reg_1 = rdi; const Register arg_reg_1 = { kRegister_rdi_Code };
const Register arg_reg_2 = rsi; const Register arg_reg_2 = { kRegister_rsi_Code };
const Register arg_reg_3 = rdx; const Register arg_reg_3 = { kRegister_rdx_Code };
const Register arg_reg_4 = rcx; const Register arg_reg_4 = { kRegister_rcx_Code };
#endif // _WIN64 #endif // _WIN64
struct XMMRegister { struct XMMRegister {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment