Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index cd7569cbb93b3387509cb0039985224c16855175..b3f3b4b14020eb97daf391e2a95a8d9ce5ab1d00 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -2199,6 +2199,7 @@ void MacroAssembler::EnterExitFrameEpilogue(int arg_stack_space, |
#endif |
// Optionally save all XMM registers. |
if (save_doubles) { |
+ CpuFeatures::Scope scope(SSE2); |
int space = XMMRegister::kNumRegisters * kDoubleSize + |
arg_stack_space * kPointerSize; |
subq(rsp, Immediate(space)); |