mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 736746 - Remove js_IsMathFunction since it was only used in tracer and tracer is long gone. r=billm
This commit is contained in:
parent
acff466a14
commit
c12bc357fc
@ -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_)
|
||||
{
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user