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

RESOLVED FIXED in Firefox 44

Status

()

Core
MFBT
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: dbaron, Assigned: dbaron)

Tracking

Trunk
mozilla44
Points:
---

Firefox Tracking Flags

(firefox44 fixed)

Details

Attachments

(1 attachment)

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
Created attachment 8673993 [details] [diff] [review]
Add operators &=, |=, and ^= to mozilla::DebugOnly
Attachment #8673993 - Flags: review?(nfroyd)
(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
Last Resolved: 3 years ago
status-firefox44: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.