[Webkit-unassigned] [Bug 39290] [GTK] build error without JIT

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 18 07:55:32 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39290





--- Comment #3 from Lucas De Marchi <lucas.demarchi at profusion.mobi>  2010-05-18 07:55:32 PST ---
(In reply to comment #1)
> Created an attachment (id=56373)
 --> (https://bugs.webkit.org/attachment.cgi?id=56373) [details]
> Patch

+#if ENABLE(JIT)
     if (isHostFunction()) {
         callData.native.function = nativeFunction();
         return CallTypeHost;
     }
+#endif

Don't think this is the proper solution. nativeFunction was previously implemented in runtime/JSFunction.h as

NativeFunction nativeFunction()
{
    return *WTF::bitwise_cast<NativeFunction*>(m_data);
}

and the call you surrounded with #if ENABLE(JIT) was already there and being called also for !ENABLE(JIT)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list