diff --git a/js/src/jsbuiltins.cpp b/js/src/jsbuiltins.cpp index 2592dccc9ed..f15d0874de6 100644 --- a/js/src/jsbuiltins.cpp +++ b/js/src/jsbuiltins.cpp @@ -587,18 +587,6 @@ js_ObjectToString(JSContext* cx, JSObject* obj) 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 js_Array_1int(JSContext* cx, JSObject* ctor, jsint i) {