Bug 1065507, part 4 - Remove js_GetterOnlyPropertyStub.

--HG--
extra : rebase_source : daa17eaccddce4bcb510d2bd83799396d564728a
This commit is contained in:
Jason Orendorff 2014-09-10 12:55:46 -05:00
parent 1f0f4e29dc
commit 95cb5648c1
2 changed files with 0 additions and 12 deletions

View File

@ -156,10 +156,6 @@ JS_CloneObject(JSContext *cx, JS::HandleObject obj, JS::HandleObject proto,
extern JS_FRIEND_API(JSString *)
JS_BasicObjectToString(JSContext *cx, JS::HandleObject obj);
extern JS_FRIEND_API(bool)
js_GetterOnlyPropertyStub(JSContext *cx, JS::HandleObject obj, JS::HandleId id, bool strict,
JS::MutableHandleValue vp);
JS_FRIEND_API(void)
js_ReportOverRecursed(JSContext *maybecx);

View File

@ -6152,14 +6152,6 @@ js_ReportGetterOnlyAssignment(JSContext *cx, bool strict)
JSMSG_GETTER_ONLY);
}
JS_FRIEND_API(bool)
js_GetterOnlyPropertyStub(JSContext *cx, HandleObject obj, HandleId id, bool strict,
MutableHandleValue vp)
{
JS_ReportErrorNumber(cx, js_GetErrorMessage, nullptr, JSMSG_GETTER_ONLY);
return false;
}
#ifdef DEBUG
/*