Revision: 10184
Author:   [email protected]
Date:     Tue Dec  6 14:27:15 2011
Log:      Fix nosnap build test failures.

[email protected]
BUG=none
TEST=less waterfall redness

Review URL: http://codereview.chromium.org/8828004
http://code.google.com/p/v8/source/detail?r=10184

Modified:
 /branches/bleeding_edge/test/mjsunit/array-literal-transitions.js
 /branches/bleeding_edge/test/mjsunit/elements-kind.js
 /branches/bleeding_edge/test/mjsunit/elements-transition.js

=======================================
--- /branches/bleeding_edge/test/mjsunit/array-literal-transitions.js Fri Dec 2 04:42:35 2011 +++ /branches/bleeding_edge/test/mjsunit/array-literal-transitions.js Tue Dec 6 14:27:15 2011
@@ -33,7 +33,13 @@
 // in this test case.  Depending on whether smi-only arrays are actually
// enabled, this test takes the appropriate code path to check smi-only arrays.

-support_smi_only_arrays = %HasFastSmiOnlyElements(new Array());
+support_smi_only_arrays = %HasFastSmiOnlyElements([1,2,3,4,5,6,7,8,9,10]);
+
+if (support_smi_only_arrays) {
+  print("Tests include smi-only arrays.");
+} else {
+  print("Tests do NOT include smi-only arrays.");
+}

// IC and Crankshaft support for smi-only elements in dynamic array literals.
 function get(foo) { return foo; }  // Used to generate dynamic values.
=======================================
--- /branches/bleeding_edge/test/mjsunit/elements-kind.js Fri Nov 4 05:47:58 2011 +++ /branches/bleeding_edge/test/mjsunit/elements-kind.js Tue Dec 6 14:27:15 2011
@@ -34,7 +34,7 @@
 // in this test case.  Depending on whether smi-only arrays are actually
// enabled, this test takes the appropriate code path to check smi-only arrays.

-support_smi_only_arrays = %HasFastSmiOnlyElements([]);
+support_smi_only_arrays = %HasFastSmiOnlyElements([1,2,3,4,5,6,7,8,9,10]);

 if (support_smi_only_arrays) {
   print("Tests include smi-only arrays.");
=======================================
--- /branches/bleeding_edge/test/mjsunit/elements-transition.js Mon Oct 24 08:06:20 2011 +++ /branches/bleeding_edge/test/mjsunit/elements-transition.js Tue Dec 6 14:27:15 2011
@@ -27,7 +27,13 @@

 // Flags: --allow-natives-syntax --smi-only-arrays

-support_smi_only_arrays = %HasFastSmiOnlyElements([]);
+support_smi_only_arrays = %HasFastSmiOnlyElements([1,2,3,4,5,6,7,8,9,10]);
+
+if (support_smi_only_arrays) {
+  print("Tests include smi-only arrays.");
+} else {
+  print("Tests do NOT include smi-only arrays.");
+}

 if (support_smi_only_arrays) {
   function test(test_double, test_object, set, length) {

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to