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

Unified Diff: test/mjsunit/regress/regress-1713b.js

Issue 18214005: Added %NeverOptimize runtime call that can disable optimizations for a method for tests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
Index: test/mjsunit/regress/regress-1713b.js
diff --git a/test/mjsunit/regress/regress-1713.js b/test/mjsunit/regress/regress-1713b.js
similarity index 99%
copy from test/mjsunit/regress/regress-1713.js
copy to test/mjsunit/regress/regress-1713b.js
index 0af1144a15d53bd6387cba85c1d7a3b6e97831f5..2e35fa42396a27c0dd11bcaa63b1ddc431a3ef0e 100644
--- a/test/mjsunit/regress/regress-1713.js
+++ b/test/mjsunit/regress/regress-1713b.js
@@ -83,7 +83,7 @@ function Incremental(O, x) {
L.execute(O);
- try {} catch (e) {}
+ %NeverOptimize();
L = null;
print(">>> 2 <<<");

Powered by Google App Engine
This is Rietveld 408576698