Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Side by Side Diff: src/ia32/builtins-ia32.cc

Issue 14738009: Ensure that soft-deopts don't count against opt_count (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Implement x64 and ARM, review feedback Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 __ bind(&not_tos_eax); 650 __ bind(&not_tos_eax);
651 __ Abort("no cases left"); 651 __ Abort("no cases left");
652 } 652 }
653 653
654 654
655 void Builtins::Generate_NotifyDeoptimized(MacroAssembler* masm) { 655 void Builtins::Generate_NotifyDeoptimized(MacroAssembler* masm) {
656 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::EAGER); 656 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::EAGER);
657 } 657 }
658 658
659 659
660 void Builtins::Generate_NotifySoftDeoptimized(MacroAssembler* masm) {
661 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::SOFT);
662 }
663
664
660 void Builtins::Generate_NotifyLazyDeoptimized(MacroAssembler* masm) { 665 void Builtins::Generate_NotifyLazyDeoptimized(MacroAssembler* masm) {
661 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); 666 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::LAZY);
662 } 667 }
663 668
664 669
665 void Builtins::Generate_NotifyOSR(MacroAssembler* masm) { 670 void Builtins::Generate_NotifyOSR(MacroAssembler* masm) {
666 // TODO(kasperl): Do we need to save/restore the XMM registers too? 671 // TODO(kasperl): Do we need to save/restore the XMM registers too?
667 // TODO(mvstanton): We should save these regs, do this in a future 672 // TODO(mvstanton): We should save these regs, do this in a future
668 // checkin. 673 // checkin.
669 674
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after
1805 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); 1810 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR);
1806 generator.Generate(); 1811 generator.Generate();
1807 } 1812 }
1808 1813
1809 1814
1810 #undef __ 1815 #undef __
1811 } 1816 }
1812 } // namespace v8::internal 1817 } // namespace v8::internal
1813 1818
1814 #endif // V8_TARGET_ARCH_IA32 1819 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698