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 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 __ ret(0); // Return to IC Miss stub, continuation still on stack. | 693 __ ret(0); // Return to IC Miss stub, continuation still on stack. |
694 } | 694 } |
695 | 695 |
696 | 696 |
697 void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) { | 697 void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) { |
698 Generate_NotifyStubFailureHelper(masm, kDontSaveFPRegs); | 698 Generate_NotifyStubFailureHelper(masm, kDontSaveFPRegs); |
699 } | 699 } |
700 | 700 |
701 | 701 |
702 void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) { | 702 void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) { |
703 if (Serializer::enabled()) { | 703 if (Serializer::enabled(masm->isolate())) { |
704 PlatformFeatureScope sse2(masm->isolate(), SSE2); | 704 PlatformFeatureScope sse2(masm->isolate(), SSE2); |
705 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); | 705 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); |
706 } else { | 706 } else { |
707 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); | 707 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); |
708 } | 708 } |
709 } | 709 } |
710 | 710 |
711 | 711 |
712 static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm, | 712 static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm, |
713 Deoptimizer::BailoutType type) { | 713 Deoptimizer::BailoutType type) { |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1462 | 1462 |
1463 __ bind(&ok); | 1463 __ bind(&ok); |
1464 __ ret(0); | 1464 __ ret(0); |
1465 } | 1465 } |
1466 | 1466 |
1467 #undef __ | 1467 #undef __ |
1468 } | 1468 } |
1469 } // namespace v8::internal | 1469 } // namespace v8::internal |
1470 | 1470 |
1471 #endif // V8_TARGET_ARCH_IA32 | 1471 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |