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

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

Issue 8915006: Fix outdated test expectations for array literal crankshafting (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years 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 | « no previous file | no next file » | 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 21ea3db997f2b7d207f18df1c803ee61372331af..f657525eb6f1af773732decd853e5eaed0db0c78 100644
--- a/test/mjsunit/array-literal-transitions.js
+++ b/test/mjsunit/array-literal-transitions.js
@@ -144,9 +144,9 @@ if (support_smi_only_arrays) {
var array = deopt_array(false);
assertTrue(2 != %GetOptimizationStatus(deopt_array));
deopt_array(true);
- assertTrue(1 != %GetOptimizationStatus(deopt_array));
+ assertTrue(2 != %GetOptimizationStatus(deopt_array));
array = deopt_array(false);
- assertTrue(1 != %GetOptimizationStatus(deopt_array));
+ assertTrue(2 != %GetOptimizationStatus(deopt_array));
// Check that unexpected changes in the objects stored into the boilerplate
// also force a deopt.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698