Closed Bug 1255795 Opened 8 years ago Closed 8 years ago

use UniqueTwoByteChars in AtomizeUTF8Chars

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: luke, Assigned: luke)

Details

Attachments

(1 file)

It's in the name!  More importantly, UniquePtr<char16_t> has JS::DeletePolicy while UniqueTwoByteChars correctly has JS::FreePolicy.  Credit to bz for the catch.
Attachment #8729544 - Flags: review?(jdemooij)
Attachment #8729544 - Flags: review?(jdemooij) → review+
https://hg.mozilla.org/mozilla-central/rev/844d73172246
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: