mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 609206 - Can't compile JS with --disable-methodjit r=dmandelin a=approval2.0
This commit is contained in:
parent
c69c8defee
commit
493e8745ff
@ -443,10 +443,12 @@ jitstats_getProperty(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
|
|||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef JS_METHODJIT
|
||||||
if (MatchStringAndAscii(str, "profiler")) {
|
if (MatchStringAndAscii(str, "profiler")) {
|
||||||
*vp = BOOLEAN_TO_JSVAL(cx->profilingEnabled);
|
*vp = BOOLEAN_TO_JSVAL(cx->profilingEnabled);
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (JSID_IS_INT(id))
|
if (JSID_IS_INT(id))
|
||||||
|
Loading…
Reference in New Issue
Block a user