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

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

Issue 15005008: MIPS: Ensure that soft-deopts don't count against opt_count (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed nits. 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
« no previous file with comments | « no previous file | src/mips/deoptimizer-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1371 __ bind(&unknown_state); 1371 __ bind(&unknown_state);
1372 __ stop("no cases left"); 1372 __ stop("no cases left");
1373 } 1373 }
1374 1374
1375 1375
1376 void Builtins::Generate_NotifyDeoptimized(MacroAssembler* masm) { 1376 void Builtins::Generate_NotifyDeoptimized(MacroAssembler* masm) {
1377 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::EAGER); 1377 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::EAGER);
1378 } 1378 }
1379 1379
1380 1380
1381 void Builtins::Generate_NotifySoftDeoptimized(MacroAssembler* masm) {
1382 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::SOFT);
1383 }
1384
1385
1381 void Builtins::Generate_NotifyLazyDeoptimized(MacroAssembler* masm) { 1386 void Builtins::Generate_NotifyLazyDeoptimized(MacroAssembler* masm) {
1382 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); 1387 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::LAZY);
1383 } 1388 }
1384 1389
1385 1390
1386 void Builtins::Generate_NotifyOSR(MacroAssembler* masm) { 1391 void Builtins::Generate_NotifyOSR(MacroAssembler* masm) {
1387 // For now, we are relying on the fact that Runtime::NotifyOSR 1392 // For now, we are relying on the fact that Runtime::NotifyOSR
1388 // doesn't do any garbage collection which allows us to save/restore 1393 // doesn't do any garbage collection which allows us to save/restore
1389 // the registers without worrying about which of them contain 1394 // the registers without worrying about which of them contain
1390 // pointers. This seems a bit fragile. 1395 // pointers. This seems a bit fragile.
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
1916 __ bind(&dont_adapt_arguments); 1921 __ bind(&dont_adapt_arguments);
1917 __ Jump(a3); 1922 __ Jump(a3);
1918 } 1923 }
1919 1924
1920 1925
1921 #undef __ 1926 #undef __
1922 1927
1923 } } // namespace v8::internal 1928 } } // namespace v8::internal
1924 1929
1925 #endif // V8_TARGET_ARCH_MIPS 1930 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips/deoptimizer-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698