We should remove JSScrit::isAboutToBeFinalized. With the bug 674251 fixed the generic IsAboutToBeFinalized should work for JSScript instances.
Bug 663138 removes this and will be landing soon, so an option is to just wait for that bug.
Created attachment 557616 [details] [diff] [review]
Here is a straightforward removal of JSScript::isAboutToBeFinalized().
(In reply to Brian Hackett from comment #1)
> Bug 663138 removes this and will be landing soon, so an option is to just
> wait for that bug.
I need this to eliminate JSScript::u.object that should simplify the debugger implementation.