Home | History | Annotate | Download | only in src

Lines Matching defs:holes

11208         // Bail out and do the sorting of undefineds and array holes in JS.
11301 // External arrays cannot have holes or undefined elements.
11311 // Collect holes at the end, undefined before that and the rest at the
11338 unsigned int holes = limit;
11339 // Assume most arrays contain no holes and undefined values, so minimize the
11341 for (unsigned int i = 0; i < holes; i++) {
11343 holes--;
11348 while (holes > i) {
11349 if (elements->is_the_hole(holes)) {
11350 holes--;
11352 elements->set(i, elements->get_scalar(holes));
11357 result = holes;
11358 while (holes < limit) {
11359 elements->set_the_hole(holes);
11360 holes++;
11370 unsigned int holes = limit;
11371 // Assume most arrays contain no holes and undefined values, so minimize the
11376 holes--;
11387 holes--;
11398 while (undefs < holes) {
11402 while (holes < limit) {
11403 elements->set_the_hole(holes);
11404 holes++;