Closed Bug 525371 Opened 15 years ago Closed 15 years ago

TM: Remove TreeInfo

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dvander, Assigned: dvander)

References

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file, 3 obsolete files)

When bug 524620 lands, which re-organizes Fragment layouts, TreeInfo is unnecessary and adds a lot of complication. With this gone we can have better lifetime management of fragments and less random indirection.
Attached patch patch (obsolete) — Splinter Review
Passes trace-tests but not ready to review yet. Applies on top of bug 524620.
Assignee: general → dvander
Status: NEW → ASSIGNED
Attachment #409237 - Attachment description: WIP v1 → patch
Attachment #409237 - Flags: review?(gal)
Attachment #409237 - Flags: review?(gal) → review+
Attached patch rebased (obsolete) — Splinter Review
Attachment #409237 - Attachment is obsolete: true
Attachment #410330 - Flags: review+
Attached patch rebased, again (obsolete) — Splinter Review
Attachment #410330 - Attachment is obsolete: true
Attached patch rebasedSplinter Review
Attachment #410679 - Attachment is obsolete: true
Comment on attachment 414128 [details] [diff] [review]
rebased

Great patch; shorter, simpler, smaller, and maybe even a hair faster.

Only superficial requests:

1. Could you properly indent/align:
 - the #ifdef'd JS_JIT_SPEW block in RecordTree
 - the branchCount member declaration in LinkableFragment
 - the TreeFragment constructor call in AddNewPeerToPeerList

2. I think the assert:

 JS_ASSERT(fragment->root == tree);

isn't necessary considering the initialization of 'tree'.
Attachment #414128 - Flags: review?(lw) → review+
http://hg.mozilla.org/mozilla-central/rev/0082849624a5
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
oops, that got backed out
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: fixed-in-tracemonkey
http://hg.mozilla.org/mozilla-central/rev/0240dfe10411
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: