RESOLVED FIXED 125063
Guard JIT include.
https://bugs.webkit.org/show_bug.cgi?id=125063
Summary Guard JIT include.
László Langó
Reported 2013-12-02 00:35:18 PST
JSInterfaceJIT.h is unused in LLIntThunks.cpp when webkit is built without JIT.
Attachments
Patch (1.13 KB, patch)
2013-12-02 00:39 PST, László Langó
no flags
Patch (1.55 KB, patch)
2013-12-03 05:07 PST, László Langó
no flags
László Langó
Comment 1 2013-12-02 00:39:46 PST
Michael Saboff
Comment 2 2013-12-02 08:27:50 PST
Comment on attachment 218147 [details] Patch The whole purpose of this file is to JIT generate small thunks to jump to LLInt entry points.
Filip Pizlo
Comment 3 2013-12-02 09:10:08 PST
(In reply to comment #2) > (From update of attachment 218147 [details]) > The whole purpose of this file is to JIT generate small thunks to jump to LLInt entry points. Does that make Lashlo's change wrong? I think that this change is technically correct but just leads to code that is more complicated than it needs to be. I think that the problem here is that: - We have separate ENABLE(JIT) and ENABLE(LLINT_C_LOOP) defines, even though the two are exactly mutually exclusive if ENABLE(LLINT). - This entire file should basically either be guarded with either ENABLE(LLINT) && ENABLE(JIT) or ENABLE(LLINT) && !ENALBE(LLINT_C_LOOP). Lashlo's change sort of accomplishes this, but it does so piecemeal - the whole file is guarded by ENABLE(LLINT), then an include is guarded by ENABLE(JIT), and the rest of the file is guarded by !ENABLE(LLINT_C_LOOP).
László Langó
Comment 4 2013-12-03 05:07:20 PST
WebKit Commit Bot
Comment 5 2013-12-03 07:50:43 PST
Comment on attachment 218287 [details] Patch Clearing flags on attachment: 218287 Committed r160003: <http://trac.webkit.org/changeset/160003>
WebKit Commit Bot
Comment 6 2013-12-03 07:50:45 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.