Index: test/mjsunit/regress/regress-165637.js |
diff --git a/test/mjsunit/regress/regress-165637.js b/test/mjsunit/regress/regress-165637.js |
index 84c9041216cb6045c036054b67e470c7615f5639..6e287263561b751ece32bb420e58b437ba5a8781 100644 |
--- a/test/mjsunit/regress/regress-165637.js |
+++ b/test/mjsunit/regress/regress-165637.js |
@@ -51,7 +51,7 @@ assertTrue(do_slices() < (3 * 1000)); |
// Make sure that packed and unpacked array slices are still properly handled |
var holey_array = [1, 2, 3, 4, 5,,,,,,]; |
-assertFalse(%HasFastHoleyElements(holey_array.slice(6, 1))); |
-assertEquals(undefined, holey_array.slice(6, 7)[0]) |
-assertFalse(%HasFastHoleyElements(holey_array.slice(2, 1))); |
-assertEquals(3, holey_array.slice(2, 3)[0]) |
+assertEquals([undefined], holey_array.slice(6, 7)); |
+assertEquals(undefined, holey_array.slice(6, 7)[0]); |
+assertEquals([], holey_array.slice(2, 1)); |
+assertEquals(3, holey_array.slice(2, 3)[0]); |