Closed Bug 792218 Opened 12 years ago Closed 12 years ago

GC: more exact rooting for jsreftests

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: terrence, Assigned: terrence)

References

Details

(Whiteboard: [js:t])

Attachments

(1 file)

Attached patch v0 (deleted) — 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)
Whiteboard: [js:t]
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+
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?
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.

Attachment

General

Created:
Updated:
Size: