Home
last modified time | relevance | path

Searched refs:holey (Results 1 – 6 of 6) sorted by relevance

/external/v8/test/mjsunit/
Dapply.js174 var holey = new Array(3); variable
175 holey[0] = "mor";
176 holey[2] = "er";
178 assertEquals("morseper", String.prototype.concat.apply("", holey),
180 assertEquals("morseper", String.prototype.concat.apply("", holey, 1),
182 assertEquals("morseper", String.prototype.concat.apply("", holey, 1, 2),
184 assertEquals("morseper", String.prototype.concat.apply("", holey, 1, 2, 3),
186 assertEquals("morseper", String.prototype.concat.apply("", holey, 1, 2, 3, 4),
190 primes[1] = holey;
Darray-concat.js186 var holey = [void 0,'a',,'c'].concat(['d',,'f',[0,,2],void 0]) variable
187 assertEquals(9, holey.length); // hole in embedded array is ignored
188 for (var i = 0; i < holey.length; i++) {
190 assertFalse(i in holey);
192 assertTrue(i in holey);
Dmjsunit.status199 # the slow path in C++ with holey arrays in Function.prototype.apply.
200 # TODO(bmeurer): Add fast support for holey arrays in apply.
/external/v8/test/mjsunit/harmony/
Darray-concat.js656 var holey = [void 0,'a',,'c'].concat(['d',,'f',[0,,2],void 0])
657 assertEquals(9, holey.length); // hole in embedded array is ignored
658 for (var i = 0; i < holey.length; i++) {
660 assertFalse(i in holey);
662 assertTrue(i in holey);
/external/v8/src/runtime/
Druntime-array.cc252 bool holey = false; in ArrayConstructorCommon() local
264 holey = true; in ArrayConstructorCommon()
282 if (holey && !IsFastHoleyElementsKind(to_kind)) { in ArrayConstructorCommon()
/external/v8/
DChangeLog8907 could result in creating a holey array with a packed elements kind.
9012 Fixed bogus deopt in BuildEmitDeepCopy for holey arrays. (Chromium issue