mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 728105 - Remove JSObject::getThrowTypeError. r=bhackett
This commit is contained in:
parent
850206480a
commit
8d23f9b616
@ -100,12 +100,6 @@ using namespace js;
|
||||
using namespace js::gc;
|
||||
using namespace js::types;
|
||||
|
||||
inline JSObject *
|
||||
JSObject::getThrowTypeError() const
|
||||
{
|
||||
return global().getThrowTypeError();
|
||||
}
|
||||
|
||||
JSBool
|
||||
js_GetArgsValue(JSContext *cx, StackFrame *fp, Value *vp)
|
||||
{
|
||||
@ -475,8 +469,8 @@ strictargs_resolve(JSContext *cx, JSObject *obj, jsid id, uintN flags, JSObject
|
||||
}
|
||||
|
||||
attrs = JSPROP_PERMANENT | JSPROP_GETTER | JSPROP_SETTER | JSPROP_SHARED;
|
||||
getter = CastAsPropertyOp(argsobj.getThrowTypeError());
|
||||
setter = CastAsStrictPropertyOp(argsobj.getThrowTypeError());
|
||||
getter = CastAsPropertyOp(argsobj.global().getThrowTypeError());
|
||||
setter = CastAsStrictPropertyOp(argsobj.global().getThrowTypeError());
|
||||
}
|
||||
|
||||
Value undef = UndefinedValue();
|
||||
@ -1329,7 +1323,7 @@ fun_resolve(JSContext *cx, JSObject *obj, jsid id, uintN flags,
|
||||
StrictPropertyOp setter;
|
||||
uintN attrs = JSPROP_PERMANENT;
|
||||
if (fun->isInterpreted() ? fun->inStrictMode() : fun->isBoundFunction()) {
|
||||
JSObject *throwTypeError = fun->getThrowTypeError();
|
||||
JSObject *throwTypeError = fun->global().getThrowTypeError();
|
||||
|
||||
getter = CastAsPropertyOp(throwTypeError);
|
||||
setter = CastAsStrictPropertyOp(throwTypeError);
|
||||
|
@ -1349,8 +1349,6 @@ struct JSObject : js::gc::Cell
|
||||
|
||||
static bool thisObject(JSContext *cx, const js::Value &v, js::Value *vp);
|
||||
|
||||
inline JSObject *getThrowTypeError() const;
|
||||
|
||||
bool swap(JSContext *cx, JSObject *other);
|
||||
|
||||
inline void initArrayClass();
|
||||
|
Loading…
Reference in New Issue
Block a user