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

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: 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 1358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1369 __ Ret(); 1369 __ Ret();
1370 1370
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
Paul Lind 2013/05/14 18:52:08 nit: in c files, we need 2 blank lines between fun
kilvadyb 2013/05/14 19:58:31 Done.
1380 void Builtins::Generate_NotifySoftDeoptimized(MacroAssembler* masm) {
1381 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::LAZY);
Paul Lind 2013/05/14 18:52:08 2nd parameter here should be Deoptimizer::SOFT (no
kilvadyb 2013/05/14 19:58:31 Done.
1382 }
1380 1383
1381 void Builtins::Generate_NotifyLazyDeoptimized(MacroAssembler* masm) { 1384 void Builtins::Generate_NotifyLazyDeoptimized(MacroAssembler* masm) {
1382 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::LAZY); 1385 Generate_NotifyDeoptimizedHelper(masm, Deoptimizer::LAZY);
1383 } 1386 }
1384 1387
1385 1388
1386 void Builtins::Generate_NotifyOSR(MacroAssembler* masm) { 1389 void Builtins::Generate_NotifyOSR(MacroAssembler* masm) {
1387 // For now, we are relying on the fact that Runtime::NotifyOSR 1390 // For now, we are relying on the fact that Runtime::NotifyOSR
1388 // doesn't do any garbage collection which allows us to save/restore 1391 // doesn't do any garbage collection which allows us to save/restore
1389 // the registers without worrying about which of them contain 1392 // the registers without worrying about which of them contain
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
1916 __ bind(&dont_adapt_arguments); 1919 __ bind(&dont_adapt_arguments);
1917 __ Jump(a3); 1920 __ Jump(a3);
1918 } 1921 }
1919 1922
1920 1923
1921 #undef __ 1924 #undef __
1922 1925
1923 } } // namespace v8::internal 1926 } } // namespace v8::internal
1924 1927
1925 #endif // V8_TARGET_ARCH_MIPS 1928 #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