Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index 7b44bc0d34d51cf8db2719fdfb7c201a9a2a76a1..2de5ef875a10417b3705f33fdec8ab411431a5e1 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.cc |
@@ -627,7 +627,12 @@ void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) { |
void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) { |
- Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); |
+ if (Serializer::enabled()) { |
+ PlatformFeatureScope sse2(SSE2); |
+ Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); |
+ } else { |
+ Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); |
+ } |
} |