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

Side by Side Diff: src/x64/builtins-x64.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 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 722
723 __ bind(&not_tos_rax); 723 __ bind(&not_tos_rax);
724 __ Abort("no cases left"); 724 __ Abort("no cases left");
725 } 725 }
726 726
727 void Builtins::Generate_NotifyDeoptimized(MacroAssembler* masm) { 727 void Builtins::Generate_NotifyDeoptimized(MacroAssembler* masm) {
728 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::EAGER); 728 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::EAGER);
729 } 729 }
730 730
731 731
732 void Builtins::Generate_NotifySoftDeoptimized(MacroAssembler* masm) {
733 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::LAZY);
Jakob Kummerow 2013/05/14 11:39:05 s/LAZY/SOFT/!
734 }
735
736
732 void Builtins::Generate_NotifyLazyDeoptimized(MacroAssembler* masm) { 737 void Builtins::Generate_NotifyLazyDeoptimized(MacroAssembler* masm) {
733 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); 738 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::LAZY);
734 } 739 }
735 740
736 741
737 void Builtins::Generate_NotifyOSR(MacroAssembler* masm) { 742 void Builtins::Generate_NotifyOSR(MacroAssembler* masm) {
738 // For now, we are relying on the fact that Runtime::NotifyOSR 743 // For now, we are relying on the fact that Runtime::NotifyOSR
739 // doesn't do any garbage collection which allows us to save/restore 744 // doesn't do any garbage collection which allows us to save/restore
740 // the registers without worrying about which of them contain 745 // the registers without worrying about which of them contain
741 // pointers. This seems a bit fragile. 746 // pointers. This seems a bit fragile.
(...skipping 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after
1827 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); 1832 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR);
1828 generator.Generate(); 1833 generator.Generate();
1829 } 1834 }
1830 1835
1831 1836
1832 #undef __ 1837 #undef __
1833 1838
1834 } } // namespace v8::internal 1839 } } // namespace v8::internal
1835 1840
1836 #endif // V8_TARGET_ARCH_X64 1841 #endif // V8_TARGET_ARCH_X64
OLDNEW
« src/arm/builtins-arm.cc ('K') | « src/runtime.cc ('k') | src/x64/deoptimizer-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698