https://chromiumcodereview.appspot.com/11358011/diff/1/test/mjsunit/regress/regress-delete-empty-double.js File test/mjsunit/regress/regress-delete-empty-double.js (right):
https://chromiumcodereview.appspot.com/11358011/diff/1/test/mjsunit/regress/regress-delete-empty-double.js#newcode30 test/mjsunit/regress/regress-delete-empty-double.js:30: delete a[0]; You're right. How about a second case that verifies that deleting element 0 of a 1-element array does make it holey? On 2012/10/31 18:27:28, Toon Verwaest wrote:
Are you sure this should be holey? In my current implementation they
stay
non-holey given that nothing was actually deleted.
On 2012/10/31 18:23:11, danno wrote: > assertTrue(%HasFastDoubleElements(a)); > assertTrue(%HasFastHoleyElements(a));
https://chromiumcodereview.appspot.com/11358011/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
