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

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

Issue 19776006: Fix %NeverOptimizeFunction runtime call. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add assert for safety. 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
« no previous file with comments | « 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-canoverflowb.js b/test/mjsunit/regress/regress-mul-canoverflowb.js
index 2332e94ad06d0e50e14f440622b8a002518ac622..4203ac48da3f2fe6dbf1cdfbeae7ff38a4fffa99 100644
--- a/test/mjsunit/regress/regress-mul-canoverflowb.js
+++ b/test/mjsunit/regress/regress-mul-canoverflowb.js
@@ -30,8 +30,8 @@
function boom(a) {
return ((a | 0) * (a | 0)) | 0;
}
+%NeverOptimizeFunction(boom_unoptimized);
function boom_unoptimized(a) {
- %NeverOptimize();
return ((a | 0) * (a | 0)) | 0;
}
« no previous file with comments | « 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