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/jit/JITStubsX86.h

    r176095 r187819  
    4444namespace JSC {
    4545
    46 #if COMPILER(GCC)
     46#if COMPILER(GCC_OR_CLANG)
    4747
    4848#if ENABLE(MASM_PROBE)
     
    199199#endif // ENABLE(MASM_PROBE)
    200200
    201 #endif // COMPILER(GCC)
     201#endif // COMPILER(GCC_OR_CLANG)
    202202
    203203} // namespace JSC
Note: See TracChangeset for help on using the changeset viewer.