Closed Bug 523765 Opened 15 years ago Closed 13 years ago

TM: remove all uncessary TempValueRooter uses

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: gal, Assigned: gal)

References

Details

Attachments

(1 file)

Conservative stack scanning obsoletes almost all uses of TempValueRooters in the engine. This bug aims at manually removing all unnecessary ones.
Attached patch patch (deleted) — Splinter Review
Assignee: general → gal
So for I found one JSTempValueRooter that is still needed (in array_sort). Whenever tvr.count is modified thats a good indicator that the interior of the rooter is not on the stack.
(Note: there is only one other instance where we modify tvr.count, and that case is actually obsolete since the values are held on the stack, not in the heap.)
Obsolete with the removal of tracejit.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: