Last Comment Bug 478215 - Unexpose js_AllocStack
: Unexpose js_AllocStack
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Other Branch
: All All
: -- normal (vote)
: ---
Assigned To: general
:
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-12 07:14 PST by Jason Orendorff [:jorendorff]
Modified: 2011-08-04 08:13 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Jason Orendorff [:jorendorff] 2009-02-12 07:14:27 PST
We abuse this in a few places outside the engine:

http://mxr.mozilla.org/mozilla-central/search?string=js_AllocStack&case=on&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central

Now that js_AllocStack is JS_REQUIRES_STACK, it's problematic for non-engine code to be calling it (bug 476643).  I think I can rewrite those places to use JSAutoTempValueRooter instead.

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