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-crbug-173907b.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-crbug-173907b.js
diff --git a/test/mjsunit/regress/regress-crbug-173907.js b/test/mjsunit/regress/regress-crbug-173907b.js
similarity index 99%
copy from test/mjsunit/regress/regress-crbug-173907.js
copy to test/mjsunit/regress/regress-crbug-173907b.js
index 9f92fefa7880d65771fbbe70aedb13d2d039f58e..698527b008e77f66f96a87b84dd85bc9dc925571 100644
--- a/test/mjsunit/regress/regress-crbug-173907.js
+++ b/test/mjsunit/regress/regress-crbug-173907b.js
@@ -34,7 +34,7 @@ var O = 0;
var result = new Float64Array(2);
function spill() {
- try { } catch (e) { }
+ %NeverOptimize();
}
function buggy() {

Powered by Google App Engine
This is Rietveld 408576698