Skip to content
  • weinig@apple.com's avatar
    Move compiler specific macros to their own header · 9ab06d50
    weinig@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=66119
    
    Reviewed by Anders Carlsson.
    
    Source/JavaScriptCore: 
    
    * JavaScriptCore.gypi:
    * JavaScriptCore.vcproj/WTF/WTF.vcproj:
    * JavaScriptCore.xcodeproj/project.pbxproj:
    * wtf/CMakeLists.txt:
    Add Compiler.h
    
    * wtf/AlwaysInline.h:
    Move the contents of this file (which no longer was just about ALWAYS_INLINE) to
    Compiler.h.  We can remove this file in a later commit.
    
    * wtf/Compiler.h: Added.
    Put all compiler specific checks and features in this file.
    
    * wtf/Platform.h:
    Move COMPILER macro and definitions (and the odd WARN_UNUSED_RETURN compiler feature)
    to Compiler.h.  Include Compiler.h since it is necessary.
    
    Source/JavaScriptGlue: 
    
    * ForwardingHeaders/wtf/Compiler.h: Added.
    
    Source/WebCore: 
    
    * ForwardingHeaders/wtf/Compiler.h: Added.
    
    Tools: 
    
    * DumpRenderTree/ForwardingHeaders/wtf/Compiler.h: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    9ab06d50