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 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 __ bind(¬_no_registers); | 719 __ bind(¬_no_registers); |
720 __ movq(rax, Operand(rsp, 2 * kPointerSize)); | 720 __ movq(rax, Operand(rsp, 2 * kPointerSize)); |
721 __ cmpq(r10, Immediate(FullCodeGenerator::TOS_REG)); | 721 __ cmpq(r10, Immediate(FullCodeGenerator::TOS_REG)); |
722 __ j(not_equal, ¬_tos_rax, Label::kNear); | 722 __ j(not_equal, ¬_tos_rax, Label::kNear); |
723 __ ret(2 * kPointerSize); // Remove state, rax. | 723 __ ret(2 * kPointerSize); // Remove state, rax. |
724 | 724 |
725 __ bind(¬_tos_rax); | 725 __ bind(¬_tos_rax); |
726 __ Abort("no cases left"); | 726 __ Abort("no cases left"); |
727 } | 727 } |
728 | 728 |
| 729 |
729 void Builtins::Generate_NotifyDeoptimized(MacroAssembler* masm) { | 730 void Builtins::Generate_NotifyDeoptimized(MacroAssembler* masm) { |
730 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::EAGER); | 731 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::EAGER); |
731 } | 732 } |
732 | 733 |
733 | 734 |
734 void Builtins::Generate_NotifySoftDeoptimized(MacroAssembler* masm) { | 735 void Builtins::Generate_NotifySoftDeoptimized(MacroAssembler* masm) { |
735 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); | 736 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::SOFT); |
736 } | 737 } |
737 | 738 |
738 | 739 |
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1434 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); | 1435 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); |
1435 generator.Generate(); | 1436 generator.Generate(); |
1436 } | 1437 } |
1437 | 1438 |
1438 | 1439 |
1439 #undef __ | 1440 #undef __ |
1440 | 1441 |
1441 } } // namespace v8::internal | 1442 } } // namespace v8::internal |
1442 | 1443 |
1443 #endif // V8_TARGET_ARCH_X64 | 1444 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |