Ignore:
Timestamp:
Aug 3, 2015, 11:51:29 PM (10 years ago)
Author:
Csaba Osztrogonác
Message:

Introduce COMPILER(GCC_OR_CLANG) guard and make COMPILER(GCC) true only for GCC
https://bugs.webkit.org/show_bug.cgi?id=146833

Reviewed by Alexey Proskuryakov.

Source/JavaScriptCore:

  • assembler/ARM64Assembler.h:
  • assembler/ARMAssembler.h:

(JSC::ARMAssembler::cacheFlush):

  • assembler/MacroAssemblerARM.cpp:

(JSC::isVFPPresent):

  • assembler/MacroAssemblerX86Common.h:

(JSC::MacroAssemblerX86Common::isSSE2Present):

  • heap/MachineStackMarker.h:
  • interpreter/StackVisitor.cpp: Removed redundant COMPILER(CLANG) guards.

(JSC::logF):

  • jit/HostCallReturnValue.h:
  • jit/JIT.h:
  • jit/JITOperations.cpp:
  • jit/JITStubsARM.h:
  • jit/JITStubsARMv7.h:
  • jit/JITStubsX86.h:
  • jit/JITStubsX86Common.h:
  • jit/JITStubsX86_64.h:
  • jit/ThunkGenerators.cpp:
  • runtime/JSExportMacros.h:
  • runtime/MathCommon.h: Removed redundant COMPILER(CLANG) guard.

(JSC::clz32):

Source/WebCore:

  • platform/graphics/cpu/arm/filters/FELightingNEON.cpp:
  • platform/graphics/cpu/arm/filters/FELightingNEON.h:
  • platform/graphics/filters/FELighting.cpp:

(WebCore::FELighting::platformApply):

  • platform/network/efl/NetworkStateNotifierEfl.cpp:

(WebCore::NetworkStateNotifier::readSocketCallback):

Source/WTF:

  • wtf/Assertions.cpp:
  • wtf/Assertions.h: Removed redundant COMPILER(CLANG) guard.
  • wtf/Atomics.cpp:
  • wtf/Atomics.h:

(WTF::weakCompareAndSwap):
(WTF::compilerFence):

  • wtf/Compiler.h:
    • Renamed COMPILER(GCC) to COMPILER(GCC_OR_CLANG), because it is true for both compiler.
    • Added COMPILER(GCC) which is true only for GCC.
    • Moved all GCC related stuff to one block and removed redundant guards accordingly.
    • Removed the unused default false definition of GCC_VERSION_AT_LEAST for non GCC compilers.
  • wtf/ExportMacros.h:
  • wtf/FastMalloc.h:
  • wtf/Platform.h:
  • wtf/StdLibExtras.h:
  • wtf/Vector.h:
  • wtf/text/ASCIIFastPath.h:

(WTF::copyLCharsFromUCharSource):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r187794 r187819  
     12015-08-03  Csaba Osztrogonác  <[email protected]>
     2
     3        Introduce COMPILER(GCC_OR_CLANG) guard and make COMPILER(GCC) true only for GCC
     4        https://bugs.webkit.org/show_bug.cgi?id=146833
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        * assembler/ARM64Assembler.h:
     9        * assembler/ARMAssembler.h:
     10        (JSC::ARMAssembler::cacheFlush):
     11        * assembler/MacroAssemblerARM.cpp:
     12        (JSC::isVFPPresent):
     13        * assembler/MacroAssemblerX86Common.h:
     14        (JSC::MacroAssemblerX86Common::isSSE2Present):
     15        * heap/MachineStackMarker.h:
     16        * interpreter/StackVisitor.cpp: Removed redundant COMPILER(CLANG) guards.
     17        (JSC::logF):
     18        * jit/HostCallReturnValue.h:
     19        * jit/JIT.h:
     20        * jit/JITOperations.cpp:
     21        * jit/JITStubsARM.h:
     22        * jit/JITStubsARMv7.h:
     23        * jit/JITStubsX86.h:
     24        * jit/JITStubsX86Common.h:
     25        * jit/JITStubsX86_64.h:
     26        * jit/ThunkGenerators.cpp:
     27        * runtime/JSExportMacros.h:
     28        * runtime/MathCommon.h: Removed redundant COMPILER(CLANG) guard.
     29        (JSC::clz32):
     30
    1312015-08-03  Filip Pizlo  <[email protected]>
    232
Note: See TracChangeset for help on using the changeset viewer.