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

Unified Diff: test/mjsunit/regress/regress-1713b.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/osr-elements-kind.js ('k') | test/mjsunit/regress/regress-97116b.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-1713b.js
diff --git a/test/mjsunit/regress/regress-1713b.js b/test/mjsunit/regress/regress-1713b.js
index 2e35fa42396a27c0dd11bcaa63b1ddc431a3ef0e..cc16bf5119e02e1e874b5bc714d6de498378840c 100644
--- a/test/mjsunit/regress/regress-1713b.js
+++ b/test/mjsunit/regress/regress-1713b.js
@@ -62,6 +62,7 @@ var L = LongList(1024, function (O) {
+%NeverOptimizeFunction(Incremental);
function Incremental(O, x) {
if (!x) {
return;
@@ -83,8 +84,6 @@ function Incremental(O, x) {
L.execute(O);
- %NeverOptimize();
-
L = null;
print(">>> 2 <<<");
AllocateXMb(8);
« no previous file with comments | « test/mjsunit/osr-elements-kind.js ('k') | test/mjsunit/regress/regress-97116b.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698