Changeset 37457 in webkit for trunk/JavaScriptCore/kjs/regexp.h


Ignore:
Timestamp:
Oct 9, 2008, 5:50:25 PM (17 years ago)
Author:
[email protected]
Message:

2008-10-09 Alp Toker <[email protected]>

Reviewed by Mark Rowe.

https://bugs.webkit.org/show_bug.cgi?id=20760
Implement support for x86 Linux in CTI

Prepare to enable CTI/WREC on supported architectures.

Make it possible to use the CTI_ARGUMENT workaround with GCC as well
as MSVC by fixing some preprocessor conditionals.

Note that CTI/WREC no longer requires CTI_ARGUMENT on Linux so we
don't actually enable it except when building with MSVC. GCC on Win32
remains untested.

Adapt inline ASM code to use the global symbol underscore prefix only
on Darwin and to call the properly mangled Machine::cti_vm_throw
symbol name depending on CTI_ARGUMENT.

Also avoid global inclusion of the JIT infrastructure headers
throughout WebCore and WebKit causing recompilation of about ~1500
source files after modification to X86Assembler.h, CTI.h, WREC.h,
which are only used deep inside JavaScriptCore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/regexp.h

    r37433 r37457  
    2525#include <wtf/Forward.h>
    2626#include <wtf/RefCounted.h>
    27 #include <wrec/WREC.h>
    2827
    2928struct JSRegExp;
     
    6867
    6968#if ENABLE(WREC)
    70         WRECFunction m_wrecFunction;
     69        // Called as a WRECFunction
     70        void* m_wrecFunction;
    7171#endif
    7272    };
Note: See TracChangeset for help on using the changeset viewer.