[webkit-help] Nitro vs Nitro Extreme: which builds at the JSC tip?

Ariya Hidayat ariya.hidayat at gmail.com
Wed Nov 4 09:50:19 PST 2009


> Naive question that I've tried to answer though feel I haven't:
> how does one know when JSC is using Nitro Extreme, Nitro, or just Squirrelfish?

Nitro = SquirrelFish, Nitro Extreme = SquirrelFish Extreme.

CMIIW but unfortunately, at least for the Qt port, there is no way to
detect Extreme vs non Extreme at run-time. At compile-time it is
fairly easy. If you check JavaScriptCore/wtf/Platform.h around line
744, a bunch of #ifdefs there show the platform/compiler combination
that allows enabling of JIT (i.e. the "Extreme" flavor), e.g. Windows
on x86 using MSVC. Thus, the solution is to check for the compiler
define ENABLE_JIT.

HTH.


-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat


More information about the webkit-help mailing list