Closed
Bug 499971
Opened 15 years ago
Closed 15 years ago
escaping-callee getter functions cannot be JS_REQUIRES_STACK!
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: benjamin, Assigned: benjamin)
References
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
2.98 KB,
patch
|
jorendorff
:
review+
brendan
:
review+
|
Details | Diff | Splinter Review |
In bug 494235, http://hg.mozilla.org/tracemonkey/rev/c074f0f0ad2d added CalleeGetter and js_GetCallVar which are marked JS_REQUIRES_STACK but are passed around as native function pointers which must not require the stack. This fixes the situation with an explicit js_LeaveTrace.
Attachment #384644 -
Flags: review?(jorendorff)
Assignee | ||
Updated•15 years ago
|
Assignee: general → benjamin
Updated•15 years ago
|
Attachment #384644 -
Flags: review?(jorendorff) → review+
Comment 1•15 years ago
|
||
Comment on attachment 384644 [details] [diff] [review] CalleeGetter and js_GetCallVar must not be JS_REQUIRES_STACK, rev. 1 Brendan initially had reservations about this patch, and he was going to comment here. I'm convinced this is the right fix, but it seems only courteous to ping Brendan one more time.
Comment 2•15 years ago
|
||
Comment on attachment 384644 [details] [diff] [review] CalleeGetter and js_GetCallVar must not be JS_REQUIRES_STACK, rev. 1 I was wrong, hadn't had a look at the patch and was going on a bad assumption. It is perfect. Thanks, /be
Attachment #384644 -
Flags: review+
Assignee | ||
Comment 3•15 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/40e6ab743853
Whiteboard: fixed-in-tracemonkey
Comment 4•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/40e6ab743853
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•