src/dispnew.c (add_row_entry): Add xassert to verify that ROW's hash code
is valid.
hash values of the two rows.
(copy_row_except_pointers): Preserve the used[] arrays and the
hash values of the two rows. (Bug#10035)
+ (add_row_entry): Add xassert to verify that ROW's hash code is valid.
* xdisp.c (row_hash): New function, body extracted from
compute_line_metrics.
ptrdiff_t i = row->hash % row_table_size;
entry = row_table[i];
+ xassert (entry || verify_row_hash (row));
while (entry && !row_equal_p (entry->row, row, 1))
entry = entry->next;