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

Unified Diff: test/mjsunit/regress/regress-deopt-gcb.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-crbug-173907b.js ('k') | test/mjsunit/regress/regress-mul-canoverflowb.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-deopt-gcb.js
diff --git a/test/mjsunit/regress/regress-deopt-gcb.js b/test/mjsunit/regress/regress-deopt-gcb.js
index 95bb450901c504062c49421c84d98b2d52a97d1e..fed92b424f97b279b0b4b5ef4066a76f3b0ef342 100644
--- a/test/mjsunit/regress/regress-deopt-gcb.js
+++ b/test/mjsunit/regress/regress-deopt-gcb.js
@@ -38,9 +38,9 @@ function opt_me() {
deopt();
}
+// Make sure we don't inline this function
+%NeverOptimizeFunction(deopt);
function deopt() {
- // Make sure we don't inline this function
- %NeverOptimize();
%DeoptimizeFunction(opt_me);
gc();
}
« no previous file with comments | « test/mjsunit/regress/regress-crbug-173907b.js ('k') | test/mjsunit/regress/regress-mul-canoverflowb.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698