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

Unified Diff: test/mjsunit/array-literal-transitions.js

Issue 21173004: Version 3.20.11.1 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
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
« no previous file with comments | « test/cctest/test-profile-generator.cc ('k') | test/mjsunit/array-store-and-grow.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/array-literal-transitions.js
diff --git a/test/mjsunit/array-literal-transitions.js b/test/mjsunit/array-literal-transitions.js
index ca6033b217741aeb2d7b1987f9ed19509a84271d..fab45ed72004d1aa700d61b02a1590923af8276f 100644
--- a/test/mjsunit/array-literal-transitions.js
+++ b/test/mjsunit/array-literal-transitions.js
@@ -205,9 +205,7 @@ if (support_smi_only_arrays) {
(function literals_after_osr() {
var color = [0];
- // Trigger OSR, if optimization is not disabled.
- if (%GetOptimizationStatus(literals_after_osr) != 4) {
- while (%GetOptimizationCount(literals_after_osr) == 0) {}
- }
+ // Trigger OSR.
+ while (%GetOptimizationStatus(literals_after_osr, "no sync") == 2) {}
return [color[0]];
})();
« no previous file with comments | « test/cctest/test-profile-generator.cc ('k') | test/mjsunit/array-store-and-grow.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698