Closed Bug 959926 Opened 11 years ago Closed 11 years ago

Some random unsafe pointer ggc fixes

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.
Blocks: 898608
Comment on attachment 8360191 [details] [diff] [review] Fix some miscellaneous unsafe pointer hazards. Review of attachment 8360191 [details] [diff] [review]: ----------------------------------------------------------------- r=me ::: js/src/jsobj.cpp @@ +5255,5 @@ > + return IsDelegateOfObject(cx, obj, &v.toObject(), result); > +} > + > +bool > +js::IsDelegateOfObject(JSContext *cx, HandleObject protoObj, JSObject* obj, bool *result) Nice! ::: js/src/jsobj.h @@ +1535,5 @@ > > extern bool > IsDelegate(JSContext *cx, HandleObject obj, const Value &v, bool *result); > > +// obj is a JSObject*, but we root it immediately up front. We do it One space between sentences.
Attachment #8360191 - Flags: review?(terrence) → review+
Flags: in-testsuite+
Whiteboard: [need review]
Target Milestone: --- → mozilla29
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: