Bug 609206 - Can't compile JS with --disable-methodjit r=dmandelin a=approval2.0

This commit is contained in:
Oleg Romashin 2010-11-23 01:46:12 +02:00
parent c69c8defee
commit 493e8745ff

View File

@ -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))