Closed Bug 756823 Opened 13 years ago Closed 13 years ago

rm Root, s/RootedVar/Root/g

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: bhackett1024, Assigned: bhackett1024)

References

Details

(Whiteboard: [js:t])

Attachments

(1 file)

Root<T> isn't used for much, and things would me more concise if it was removed and RootedVar<T> was renamed to Root<T>. This would also make rooted variables slightly more efficient by killing a store during initialization.
Massive patch, but is basically just doing what's in the bug name. Everything interesting is in the header files --- changes to gc/Root.h, and rewriting inner autorooter classes which previously depended on Root<T>.
Assignee: general → bhackett1024
Attachment #625444 - Flags: review?(wmccloskey)
Comment on attachment 625444 [details] [diff] [review] patch (5fc7462dd394) Review of attachment 625444 [details] [diff] [review]: ----------------------------------------------------------------- Personally I would prefer the name RootedX to RootX, but whatever. This is a step forward.
Attachment #625444 - Flags: review?(wmccloskey) → review+
Whiteboard: [js:t]
https://hg.mozilla.org/integration/mozilla-inbound/rev/779d3807d806 This just does the rm Root part, I had to work out some mysterious non-reproducible tbpl failures and it seems better to split up. I can do Rooted<T> for the second part.
Whiteboard: [js:t] → [js:t][leave open when merging]
Whiteboard: [js:t][leave open when merging] → [js:t]
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: