From a49e15bd857653dfee98084568d72a366ac77912 Mon Sep 17 00:00:00 2001 From: Andreas Gal Date: Thu, 21 Aug 2008 04:17:17 -0700 Subject: [PATCH] Remove FastEval builtin. --- js/src/jsbuiltins.cpp | 12 ------------ 1 file changed, 12 deletions(-) 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) {