mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Remove FastEval builtin.
This commit is contained in:
parent
147018b013
commit
a49e15bd85
@ -587,18 +587,6 @@ js_ObjectToString(JSContext* cx, JSObject* obj)
|
|||||||
return JSVAL_TO_STRING(v);
|
return JSVAL_TO_STRING(v);
|
||||||
}
|
}
|
||||||
|
|
||||||
jsval FASTCALL
|
|
||||||
js_FastEval(JSContext* cx, JSObject* eval, JSObject* obj, JSString *str)
|
|
||||||
{
|
|
||||||
// FIXME: want a truly fast, frame-free js_EvalHelper in jsobj.cpp
|
|
||||||
jsval fval = OBJECT_TO_JSVAL(eval);
|
|
||||||
jsval arg = STRING_TO_JSVAL(str);
|
|
||||||
jsval rval;
|
|
||||||
if (!js_InternalCall(cx, obj, fval, 1, &arg, &rval))
|
|
||||||
return JSVAL_ERROR_COOKIE;
|
|
||||||
return rval;
|
|
||||||
}
|
|
||||||
|
|
||||||
JSObject* FASTCALL
|
JSObject* FASTCALL
|
||||||
js_Array_1int(JSContext* cx, JSObject* ctor, jsint i)
|
js_Array_1int(JSContext* cx, JSObject* ctor, jsint i)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user