Bug 736746 - Remove js_IsMathFunction since it was only used in tracer and tracer is long gone. r=billm

This commit is contained in:
Gary Kwong 2012-05-02 11:18:44 -04:00
parent acff466a14
commit c12bc357fc
2 changed files with 0 additions and 13 deletions

View File

@ -683,16 +683,6 @@ static JSFunctionSpec math_static_methods[] = {
JS_FS_END
};
bool
js_IsMathFunction(Native native)
{
for (size_t i=0; math_static_methods[i].name != NULL; i++) {
if (native == math_static_methods[i].call)
return true;
}
return false;
}
JSObject *
js_InitMathClass(JSContext *cx, JSObject *obj_)
{

View File

@ -85,9 +85,6 @@ class MathCache
extern JSObject *
js_InitMathClass(JSContext *cx, JSObject *obj);
extern bool
js_IsMathFunction(JSNative native);
extern void
js_InitRandom(JSContext *cx);