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

Unified Diff: test/mjsunit/regress/regress-mul-canoverflowb.js

Issue 18214005: Added %NeverOptimize runtime call that can disable optimizations for a method for tests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« src/runtime.cc ('K') | « test/mjsunit/regress/regress-deopt-gcb.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-mul-canoverflowb.js
diff --git a/test/mjsunit/regress/regress-mul-canoverflow.js b/test/mjsunit/regress/regress-mul-canoverflowb.js
similarity index 98%
copy from test/mjsunit/regress/regress-mul-canoverflow.js
copy to test/mjsunit/regress/regress-mul-canoverflowb.js
index e3e21caec8f96d118273491d0f34d88b957ecf50..2332e94ad06d0e50e14f440622b8a002518ac622 100644
--- a/test/mjsunit/regress/regress-mul-canoverflow.js
+++ b/test/mjsunit/regress/regress-mul-canoverflowb.js
@@ -31,7 +31,7 @@ function boom(a) {
return ((a | 0) * (a | 0)) | 0;
}
function boom_unoptimized(a) {
- try {} catch(_) {}
+ %NeverOptimize();
return ((a | 0) * (a | 0)) | 0;
}
« src/runtime.cc ('K') | « test/mjsunit/regress/regress-deopt-gcb.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698