Index: test/mjsunit/array-construct-transition.js |
diff --git a/test/mjsunit/array-construct-transition.js b/test/mjsunit/array-construct-transition.js |
index f8d7c830e5f91f977469659af449aa916fb5de7d..3847f9405a0ab7a6bfa0cbe4c1e746068c401957 100644 |
--- a/test/mjsunit/array-construct-transition.js |
+++ b/test/mjsunit/array-construct-transition.js |
@@ -25,15 +25,11 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Flags: --allow-natives-syntax --smi-only-arrays |
+// Flags: --allow-natives-syntax |
-support_smi_only_arrays = %HasFastSmiElements(new Array(1,2,3,4,5,6)); |
- |
-if (support_smi_only_arrays) { |
- var a = new Array(0, 1, 2); |
- assertTrue(%HasFastSmiElements(a)); |
- var b = new Array(0.5, 1.2, 2.3); |
- assertTrue(%HasFastDoubleElements(b)); |
- var c = new Array(0.5, 1.2, new Object()); |
- assertTrue(%HasFastObjectElements(c)); |
-} |
+var a = new Array(0, 1, 2); |
+assertTrue(%HasFastSmiElements(a)); |
+var b = new Array(0.5, 1.2, 2.3); |
+assertTrue(%HasFastDoubleElements(b)); |
+var c = new Array(0.5, 1.2, new Object()); |
+assertTrue(%HasFastObjectElements(c)); |