On Thu, Mar 19, 2009 at 02:09:51PM -0700, Gavin Barraclough wrote: > I think I can see a bug here – the compile guard on the definition of > VoidPtrPair in JITStubs.h isn't right. > > #if PLATFORM(MAC) > > should be changed to > > #if !COMPILER(MSVC) > > (and the else case should #error if compiled on x86-64, if it not 64-bit > safe). > > The MSVC version of this structure works around a quirk in the windows > ABI in a way that is not 64-bit safe, and you shouldn't need this on > Linux. The result of this will be resolve_func returning a junk > JSValuePtr for the function object.
You nailed it. Fixing this makes the JIT work on my laptop. If you deem it necessary, I can file a bug and attach a patch for this issue. I will, anyways, file a bug and attach a patch to enable JIT on x86-64 for WebKitGtk later today. Thanks Mike PS: for the curious, some performance figures: On my laptop, sunspider runs in 1685ms on x86-64 where the x86 version runs in 1965ms. But that's without forcing the CPU to be fullspeed all the time in both cases, which *does* improve sunspider results (and help have more stable results) _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev