Closed Bug 534423 Opened 15 years ago Closed 15 years ago

Reduce use of Atom in XML/RegExp when more specific types can be used.

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Future

People

(Reporter: edwsmith, Assigned: edwsmith)

References

Details

Attachments

(3 obsolete files)

These fields only ever hold String*, so make them DRCWB and it's one less case we need to worry about for encapsulating Atom, and a more specific field declaration anyway is a good thing.
Blocks: 523192
Target Milestone: --- → Future
Attachment #417276 - Flags: superreview?(stejohns)
This change of the "type" parameter from Atom to Stringp ripples through the notification call path (no other types are ever used for that parameter).
Assignee: nobody → edwsmith
Attachment #417279 - Flags: superreview?(stejohns)
Summary: use DRCWB instead of ATOM_WB for XML string constants → Reduce use of Atom in XML/RegExp when more specific types can be used.
Straightforward change, one less place using Atom when a plain type works fine.
Attachment #417281 - Flags: superreview?(stejohns)
Attachment #417276 - Flags: superreview?(stejohns) → superreview+
Attachment #417279 - Flags: superreview?(stejohns) → superreview+
Attachment #417281 - Flags: superreview?(stejohns) → superreview+
Comment on attachment 417276 [details] [diff] [review] Convert RegExp string constant fields from ATOM_WB to DRCWB(String*) pushed http://hg.mozilla.org/tamarin-redux/rev/0cf9b5a9378c
Attachment #417276 - Attachment is obsolete: true
Comment on attachment 417279 [details] [diff] [review] declare XML notification string constants as DRCWB(Stringp) not ATOM_WB pushed http://hg.mozilla.org/tamarin-redux/rev/b0059d2b9df4
Attachment #417279 - Attachment is obsolete: true
Comment on attachment 417281 [details] [diff] [review] E4XNode._equals() should return bool instead of Atom pushed http://hg.mozilla.org/tamarin-redux/rev/43b8d8ca1dec
Attachment #417281 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Engineering work item, marking verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: