Closed
Bug 1041469
Opened 11 years ago
Closed 11 years ago
Remove Latin1 strings flag
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(6 files, 1 obsolete file)
|
11.52 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
|
1.54 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
|
37.77 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
|
3.52 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
|
2.14 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
|
1.43 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
Some patches I want to land after the merge today or tomorrow.
| Assignee | ||
Comment 1•11 years ago
|
||
AtomizeAndtake [sic] is no longer used so this patch removes it too.
6 files changed, 8 insertions(+), 159 deletions(-)
Attachment #8459504 -
Flags: review?(luke)
| Assignee | ||
Comment 2•11 years ago
|
||
With the previous patch, the Latin1Char/jschar overloads are now almost the same so we can use templates instead.
Attachment #8459507 -
Flags: review?(luke)
| Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8459508 -
Flags: review?(luke)
| Assignee | ||
Comment 4•11 years ago
|
||
NewStringCopyN deflated jschar so this doesn't change much, but it's slightly more efficient to pass Latin1Char directly.
Attachment #8459512 -
Flags: review?(luke)
| Assignee | ||
Comment 5•11 years ago
|
||
(Add a static_assert.)
Attachment #8459512 -
Attachment is obsolete: true
Attachment #8459512 -
Flags: review?(luke)
Attachment #8459516 -
Flags: review?(luke)
| Assignee | ||
Comment 6•11 years ago
|
||
With the flag gone, escape() can directly allocate a Latin1Char* for the result (with jschar*, NewString always deflated).
Attachment #8459523 -
Flags: review?(luke)
| Assignee | ||
Comment 7•11 years ago
|
||
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)
Updated•11 years ago
|
Attachment #8459504 -
Flags: review?(luke) → review+
Updated•11 years ago
|
Attachment #8459507 -
Flags: review?(luke) → review+
Updated•11 years ago
|
Attachment #8459508 -
Flags: review?(luke) → review+
Updated•11 years ago
|
Attachment #8459516 -
Flags: review?(luke) → review+
Updated•11 years ago
|
Attachment #8459523 -
Flags: review?(luke) → review+
| Assignee | ||
Comment 8•11 years ago
|
||
Parts 1-3:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ca98d496cd34
https://hg.mozilla.org/integration/mozilla-inbound/rev/eb95b5ac197a
https://hg.mozilla.org/integration/mozilla-inbound/rev/3c4509cb7661
Keywords: leave-open
Comment 9•11 years ago
|
||
| Assignee | ||
Comment 10•11 years ago
|
||
And parts 4 + 5:
https://hg.mozilla.org/integration/mozilla-inbound/rev/abb6ce4a99cd
https://hg.mozilla.org/integration/mozilla-inbound/rev/fdfb57a0fe0b
Keywords: leave-open
Comment 11•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/abb6ce4a99cd
https://hg.mozilla.org/mozilla-central/rev/fdfb57a0fe0b
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Updated•11 years ago
|
QA Whiteboard: [qa-]
Comment 12•11 years ago
|
||
(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)
| Assignee | ||
Comment 13•11 years ago
|
||
(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)
| Assignee | ||
Comment 14•11 years ago
|
||
Attachment #8465330 -
Flags: review?(luke)
Updated•11 years ago
|
Attachment #8465330 -
Flags: review?(luke) → review+
| Assignee | ||
Comment 15•11 years ago
|
||
Comment 16•11 years ago
|
||
Comment 17•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•