Closed
Bug 792218
Opened 12 years ago
Closed 12 years ago
GC: more exact rooting for jsreftests
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: terrence, Assigned: terrence)
References
Details
(Whiteboard: [js:t])
Attachments
(1 file)
(deleted),
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
Here is some more low-hanging fruit keeping jsreftests from passing in root-analysis mode, mostly a bunch of JSScript* and UncachedCallResult. The next test is failing on the internal Shape* in bindings. That is going to take longer to fix, so this looked like a good place to cut the patch.
I also removed the implicit TlsRuntime constructor for Rooted: I think if we want to use this we should force the caller to use TlsRuntime itself so that the users are easier to track.
Attachment #662305 -
Flags: review?(sphink)
Assignee | ||
Updated•12 years ago
|
Whiteboard: [js:t]
Comment 1•12 years ago
|
||
Comment on attachment 662305 [details] [diff] [review]
v0
Review of attachment 662305 [details] [diff] [review]:
-----------------------------------------------------------------
Some of these changes give me the creepy-crawlies, but they all seem correct.
Attachment #662305 -
Flags: review?(sphink) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Comment on attachment 662305 [details] [diff] [review]
v0
Review of attachment 662305 [details] [diff] [review]:
-----------------------------------------------------------------
> I also removed the implicit TlsRuntime constructor for Rooted
Excellent!
::: js/src/methodjit/InvokeHelpers.cpp
@@ +428,5 @@
> types::TypeScript::Monitor(f.cx, f.script(), f.pc(), args.rval());
> }
>
> void
> +stubs::UncachedCallHelper(VMFrame &f, uint32_t argc, bool lowered, UncachedCallResult &ucr)
Can you use |const UncachedCallResult &| instead?
Comment 4•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•