Closed
Bug 797129
Opened 13 years ago
Closed 13 years ago
Root UncachedInlineCall in JM
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
INVALID
People
(Reporter: sfink, Assigned: sfink)
Details
Attachments
(1 file)
|
1.18 KB,
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
Pair of unrooted vars.
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #667162 -
Flags: review?(terrence)
Comment 2•13 years ago
|
||
Comment on attachment 667162 [details] [diff] [review]
Small JM rooting fix
Review of attachment 667162 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/methodjit/InvokeHelpers.cpp
@@ +279,5 @@
> {
> JSContext *cx = f.cx;
> CallArgs args = CallArgsFromSp(argc, f.regs.sp);
> + RootedFunction newfun(cx, args.callee().toFunction());
> + HandleScript newscript = newfun->script();
I think I have this hunk. I'm currently changing JSFunction::script() to return a Return<JSScript*>, since Nick made me aware of the potential lifetime issues.
Go ahead and get this in if you need it: I'll rebase.
Attachment #667162 -
Flags: review?(terrence) → review+
| Assignee | ||
Comment 3•13 years ago
|
||
Cleaning up bugs. I won't be committing this, I'll wait for terrence's commit.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•