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

Unified Diff: test/mjsunit/regress/regress-97116b.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-1713b.js ('k') | test/mjsunit/regress/regress-crbug-173907b.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-97116b.js
diff --git a/test/mjsunit/regress/regress-97116b.js b/test/mjsunit/regress/regress-97116b.js
index e8b73311056a0826c556f4db98f247d76e9a1f12..91e7d6e0cad1403624c0036d881ab67e9ec6f0ab 100644
--- a/test/mjsunit/regress/regress-97116b.js
+++ b/test/mjsunit/regress/regress-97116b.js
@@ -30,8 +30,8 @@
// Check that we are not flushing code for inlined functions that
// have a pending lazy deoptimization on the stack.
+%NeverOptimizeFunction(deopt);
function deopt() {
- %NeverOptimize();
%DeoptimizeFunction(outer);
for (var i = 0; i < 10; i++) gc(); // Force code flushing.
}
« no previous file with comments | « test/mjsunit/regress/regress-1713b.js ('k') | test/mjsunit/regress/regress-crbug-173907b.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698