Closed Bug 1637314 Opened 3 months ago Closed 3 months ago

ZoneAllocPolicy's move assignment operator doesn't update the "zone_" member

Categories

(Core :: JavaScript: GC, defect)

defect

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: anba, Assigned: jonco)

Details

Attachments

(1 file)

ZoneAllocPolicy& operator=(ZoneAllocPolicy&&) should probably also perform zone_ = other.zone();.

Thanks, good catch. I'm wondering how that worked... probably that method is never called and it was only defined because the move constructor was defined.

Assignee: nobody → jcoppeard
Severity: -- → S4
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9f648f9650c8
ZoneAllocPolicy's move assignment operator doesn't update the "zone_" member r=anba
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.