Closed Bug 1214958 Opened 4 years ago Closed 4 years ago

support operators &=, |=, and ^= on DebugOnly

Categories

(Core :: MFBT, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: dbaron, Assigned: dbaron)

References

Details

Attachments

(1 file)

Much like bug 1122160 did for += and -=, I'd like to add bitwise operators to DebugOnly.

The reason I want this is for bug 1209603 patch 10:
https://hg.mozilla.org/users/dbaron_mozilla.com/patches/raw-file/20184c5ec7f2/assert-peek-style-data
(Note that I only really need |=, but it made sense to add the others, I think.)
Attachment #8673993 - Flags: review?(nfroyd) → review+
https://hg.mozilla.org/mozilla-central/rev/4d203aca24e3
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.