OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
696 } | 696 } |
697 | 697 |
698 | 698 |
699 void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) { | 699 void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) { |
700 Generate_NotifyStubFailureHelper(masm, kDontSaveFPRegs); | 700 Generate_NotifyStubFailureHelper(masm, kDontSaveFPRegs); |
701 } | 701 } |
702 | 702 |
703 | 703 |
704 void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) { | 704 void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) { |
705 if (Serializer::enabled()) { | 705 if (Serializer::enabled()) { |
706 PlatformFeatureScope sse2(SSE2); | 706 PlatformFeatureScope sse2(masm->isolate(), SSE2); |
707 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); | 707 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); |
708 } else { | 708 } else { |
709 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); | 709 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); |
710 } | 710 } |
711 } | 711 } |
712 | 712 |
713 | 713 |
714 static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm, | 714 static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm, |
715 Deoptimizer::BailoutType type) { | 715 Deoptimizer::BailoutType type) { |
716 { | 716 { |
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1464 | 1464 |
1465 __ bind(&ok); | 1465 __ bind(&ok); |
1466 __ ret(0); | 1466 __ ret(0); |
1467 } | 1467 } |
1468 | 1468 |
1469 #undef __ | 1469 #undef __ |
1470 } | 1470 } |
1471 } // namespace v8::internal | 1471 } // namespace v8::internal |
1472 | 1472 |
1473 #endif // V8_TARGET_ARCH_IA32 | 1473 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |