Index: test/mjsunit/packed-elements.js |
diff --git a/test/mjsunit/packed-elements.js b/test/mjsunit/packed-elements.js |
index 4a873730643990cf47d0047f6f2d18eb73e0b177..3ce92d1186b5178a7794767433097d0f6710983d 100644 |
--- a/test/mjsunit/packed-elements.js |
+++ b/test/mjsunit/packed-elements.js |
@@ -25,9 +25,7 @@ |
// (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 --packed-arrays |
- |
-var has_packed_elements = !%HasFastHoleyElements(Array()); |
+// Flags: --allow-natives-syntax |
function test1() { |
var a = Array(8); |
@@ -101,11 +99,9 @@ function test_with_optimization(f) { |
for (i = 0; i < 25000; ++i) f(); // Make sure GC happens |
} |
-if (has_packed_elements) { |
- test_with_optimization(test1); |
- test_with_optimization(test2); |
- test_with_optimization(test3); |
- test_with_optimization(test4); |
- test_with_optimization(test5); |
- test_with_optimization(test6); |
-} |
+test_with_optimization(test1); |
+test_with_optimization(test2); |
+test_with_optimization(test3); |
+test_with_optimization(test4); |
+test_with_optimization(test5); |
+test_with_optimization(test6); |