Index: src/compiler/x64/linkage-x64.cc |
diff --git a/src/compiler/x64/linkage-x64.cc b/src/compiler/x64/linkage-x64.cc |
index 87e8ca57f028dd4019c263194605ad9f9daddad3..b272eb6f7668229a40b886bf292c3ad4320e0572 100644 |
--- a/src/compiler/x64/linkage-x64.cc |
+++ b/src/compiler/x64/linkage-x64.cc |
@@ -33,6 +33,16 @@ struct X64LinkageHelperTraits { |
return rbx.bit() | r12.bit() | r13.bit() | r14.bit() | r15.bit(); |
} |
} |
+ static RegList CCalleeSaveFPRegisters() { |
+ if (kWin64) { |
+ return (1 << xmm6.code()) | (1 << xmm7.code()) | (1 << xmm8.code()) | |
+ (1 << xmm9.code()) | (1 << xmm10.code()) | (1 << xmm11.code()) | |
+ (1 << xmm12.code()) | (1 << xmm13.code()) | (1 << xmm14.code()) | |
+ (1 << xmm15.code()); |
+ } else { |
+ return 0; |
+ } |
+ } |
static Register CRegisterParameter(int i) { |
if (kWin64) { |
static Register register_parameters[] = {rcx, rdx, r8, r9}; |