Closed Bug 1670265 Opened 4 years ago Closed 4 years ago

Remove no longer used Unicode reverse case folding and same upper-case tables

Categories

(Core :: JavaScript Engine, task)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: anba, Assigned: anba)

Details

Attachments

(2 files)

No description provided.

Removes the ReverseFoldCase{1,2,3}() functions and the accompanying
FoldingInfo::reverse{1,2,3} fields. And updates the Unicode script
to no longer emit these fields.

folding_shift had to be changed from 5 to 6, because the tuple stored in
folding_cache is now only holding the folding code unit.

In process_case_folding() we no longer need to assert that we have at
maximum three reverse case foldings, so we can remove the len(rev_folding) <= 3
assertion, too.

Drive-by changes:

  • Add a small comment to read_case_folding describing the line format.
  • Also assert we only handle common and simple case foldings and restrict the
    return value of read_case_folding to only return the (code, mapping)
    tuple.

Removes the CodepointsWithSameUpperCase class and the generator code in
"make_unicode.py".

Depends on D93089

Pushed by ncsoregi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2956214a5ca7
Part 1: Remove reverse case folding info. r=iain
https://hg.mozilla.org/integration/autoland/rev/addad36eb103
Part 2: Remove no longer used CodepointsWithSameUpperCase class. r=iain
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: