Bug 716629: Mark deleted JSFunction::toFunction methods as private, as per MOZ_DELETE instructions in mfbt/Attributes.h.

This commit is contained in:
Jim Blandy 2012-01-09 12:34:06 -08:00
parent 18ebb800f7
commit 44ae800ab8

View File

@ -290,6 +290,7 @@ struct JSFunction : public JSObject
inline JSAtom *methodAtom() const;
inline void setMethodAtom(JSAtom *atom);
private:
/*
* These member functions are inherited from JSObject, but should never be applied to
* a value statically known to be a JSFunction.