Closed Bug 1041469 Opened 11 years ago Closed 11 years ago

Remove Latin1 strings flag

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(6 files, 1 obsolete file)

Some patches I want to land after the merge today or tomorrow.
AtomizeAndtake [sic] is no longer used so this patch removes it too. 6 files changed, 8 insertions(+), 159 deletions(-)
Attachment #8459504 - Flags: review?(luke)
With the previous patch, the Latin1Char/jschar overloads are now almost the same so we can use templates instead.
Attachment #8459507 - Flags: review?(luke)
NewStringCopyN deflated jschar so this doesn't change much, but it's slightly more efficient to pass Latin1Char directly.
Attachment #8459512 - Flags: review?(luke)
(Add a static_assert.)
Attachment #8459512 - Attachment is obsolete: true
Attachment #8459512 - Flags: review?(luke)
Attachment #8459516 - Flags: review?(luke)
With the flag gone, escape() can directly allocate a Latin1Char* for the result (with jschar*, NewString always deflated).
Attachment #8459523 - Flags: review?(luke)
The --latin1-strings shell flag is still there but it's a NOP now. Gary, please let me know when I can remove it; I don't want to break the fuzzers while you're on PTO.
Flags: needinfo?(gary)
Attachment #8459504 - Flags: review?(luke) → review+
Attachment #8459507 - Flags: review?(luke) → review+
Attachment #8459508 - Flags: review?(luke) → review+
Attachment #8459516 - Flags: review?(luke) → review+
Attachment #8459523 - Flags: review?(luke) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
QA Whiteboard: [qa-]
(In reply to Jan de Mooij [:jandem] from comment #7) > The --latin1-strings shell flag is still there but it's a NOP now. Gary, > please let me know when I can remove it; I don't want to break the fuzzers > while you're on PTO. Thanks for the headsup! I've removed support for this in fuzzing rev 32e646e5cdc6. Please feel free to remove it. Does the removal affect the aurora branch? I think the train has moved past one rapid release stop.
Flags: needinfo?(gary) → needinfo?(jdemooij)
(In reply to Gary Kwong [:gkw] [:nth10sd] PTO Jul 31 to Aug 01 from comment #12) > Thanks for the headsup! I've removed support for this in fuzzing rev > 32e646e5cdc6. Please feel free to remove it. > > Does the removal affect the aurora branch? I think the train has moved past > one rapid release stop. Aurora will still have the shell flag, but it's a no-op there as well, because Latin1 strings are enabled anyway.
Flags: needinfo?(jdemooij)
Attachment #8465330 - Flags: review?(luke)
Attachment #8465330 - Flags: review?(luke) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: