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

Unified Diff: test/mjsunit/elide-double-hole-check-9.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/elements-kind.js ('k') | test/mjsunit/generated-transition-stub.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/elide-double-hole-check-9.js
diff --git a/test/mjsunit/elide-double-hole-check-9.js b/test/mjsunit/elide-double-hole-check-9.js
index 773f6d9710d30d862a5548f854c44529d904c6c6..88bbc7eaaa2955cf726fda76fca080e8663b1a96 100644
--- a/test/mjsunit/elide-double-hole-check-9.js
+++ b/test/mjsunit/elide-double-hole-check-9.js
@@ -29,8 +29,8 @@
var do_set = false;
+%NeverOptimizeFunction(set_proto_elements);
function set_proto_elements() {
- %NeverOptimize();
if (do_set) Array.prototype[1] = 1.5;
}
« no previous file with comments | « test/mjsunit/elements-kind.js ('k') | test/mjsunit/generated-transition-stub.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698