Lines Matching refs:ends
4952 FixedArray ends = FixedArray::cast(line_ends());
4954 const int ends_len = ends.length();
4961 } else if (position > Smi::ToInt(ends.get(ends_len - 1))) {
4965 // Determine line number by doing a binary search on the line ends array.
4966 if (Smi::ToInt(ends.get(0)) >= position) {
4977 if (position > Smi::ToInt(ends.get(mid))) {
4979 } else if (position <= Smi::ToInt(ends.get(mid - 1))) {
4986 DCHECK(Smi::ToInt(ends.get(info->line)) >= position &&
4987 Smi::ToInt(ends.get(info->line - 1)) < position);
4988 info->line_start = Smi::ToInt(ends.get(info->line - 1)) + 1;
4993 info->line_end = Smi::ToInt(ends.get(info->line));