Closed Bug 962176 Opened 12 years ago Closed 11 years ago

PersistentRootedValue should have ValueOperations

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1107639

People

(Reporter: soubok, Unassigned)

References

(Blocks 1 open bug)

Details

It should be possible to write: JS::PersistentRootedValue foo(cx); foo.setObject(...);
I see that RootedValue inherits ValueOperations through the specialization of RootedBase in Value.h. Doing something analogous here ('PersistentRootedBase', perhaps?) seems like it would be appropriate. I don't have time at the moment to do it myself, but I'd gladly review a patch.
Blocks: 773686
OS: Windows XP → All
Hardware: x86 → All
This should not transitively block us from closing Exact Rooting. Moving it to GC.stability for now, although it's not a great fit there.
Blocks: GC.stability
No longer blocks: 773686
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.