Closed Bug 1623381 Opened 5 years ago Closed 5 years ago

Cleanup GCThingList::getScope()

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: mgaudet, Assigned: u7693)

References

Details

Attachments

(1 file)

In Bug 1618995 we added a third case to GetScope, and review bot pointed out after it landed that instead of having

if (cond) {
  return A;
} else if (cond2)  {
  return B;
} 
return C; 

we can nicely restructure that as

if (cond) {
  return A;
}
if (cond2)  {
  return B;
} 
return C; 
Summary: Cleanup AbstractScopePtr::getScope() → Cleanup GCThingList::getScope()

Depends on D67101

Assignee: nobody → u7693
Status: NEW → ASSIGNED
Priority: -- → P2
Pushed by mgaudet@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5b50b87183a8
Cleanup GCThingList::getScope() r=mgaudet
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: