Last Comment Bug 725888 - Unfriend js_GetClassPrototype, and remove a bunch of calls to it
: Unfriend js_GetClassPrototype, and remove a bunch of calls to it
Status: RESOLVED FIXED
: dev-doc-complete
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: All All
: -- minor (vote)
: mozilla13
Assigned To: Jeff Walden [:Waldo] (remove +bmo to email)
:
:
Mentors:
Depends on: 726182
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-09 16:54 PST by Jeff Walden [:Waldo] (remove +bmo to email)
Modified: 2012-02-10 16:38 PST (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Patch (11.62 KB, patch)
2012-02-09 16:54 PST, Jeff Walden [:Waldo] (remove +bmo to email)
dmandelin: review+
Details | Diff | Splinter Review

Description Jeff Walden [:Waldo] (remove +bmo to email) 2012-02-09 16:54:08 PST
Created attachment 595912 [details] [diff] [review]
Patch

We want people looking up specific prototypes, and we want them using the fast methods on GlobalObject to do so.

This also adds a method to get the original Object.prototype, which DOM wants and which I've heard others say they want too.
Comment 1 Ed Morley [:emorley] 2012-02-10 04:58:08 PST
https://hg.mozilla.org/mozilla-central/rev/7c1f8b268d89
Comment 2 Jeff Walden [:Waldo] (remove +bmo to email) 2012-02-10 16:38:48 PST
https://developer.mozilla.org/en/SpiderMonkey/JSAPI_Reference/JS_GetObjectPrototype

Note You need to log in before you can comment on or make changes to this bug.