Changeset 217109 in webkit


Ignore:
Timestamp:
May 19, 2017 2:39:28 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

[JSC] Remove PLATFORM(WIN) references
https://bugs.webkit.org/show_bug.cgi?id=172294

Patch by Don Olmstead <don.olmstead@am.sony.com> on 2017-05-19
Reviewed by Yusuke Suzuki.

  • heap/MachineStackMarker.cpp:

(JSC::MachineThreads::removeThread):

  • llint/LLIntOfflineAsmConfig.h:
  • runtime/ConfigFile.h:
  • runtime/VM.cpp:

(JSC::VM::updateStackLimits):

Location:
trunk/Source/JavaScriptCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r217108 r217109  
     12017-05-19  Don Olmstead  <don.olmstead@am.sony.com>
     2
     3        [JSC] Remove PLATFORM(WIN) references
     4        https://bugs.webkit.org/show_bug.cgi?id=172294
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        * heap/MachineStackMarker.cpp:
     9        (JSC::MachineThreads::removeThread):
     10        * llint/LLIntOfflineAsmConfig.h:
     11        * runtime/ConfigFile.h:
     12        * runtime/VM.cpp:
     13        (JSC::VM::updateStackLimits):
     14
    1152017-05-19  Yusuke Suzuki  <utatane.tea@gmail.com>
    216
  • trunk/Source/JavaScriptCore/heap/MachineStackMarker.cpp

    r216637 r217109  
    163163        // do a removal if this thread is found in it.
    164164
    165 #if PLATFORM(WIN)
     165#if OS(WINDOWS)
    166166        // On Windows the thread specific destructor is also called when the
    167167        // main thread is exiting. This may lead to the main thread waiting
  • trunk/Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h

    r216151 r217109  
    4949#define OFFLINE_ASM_C_LOOP 0
    5050
    51 #if CPU(X86) && !PLATFORM(WIN)
     51#if CPU(X86) && !COMPILER(MSVC)
    5252#define OFFLINE_ASM_X86 1
    5353#else
     
    5555#endif
    5656
    57 #if CPU(X86) && PLATFORM(WIN)
     57#if CPU(X86) && COMPILER(MSVC)
    5858#define OFFLINE_ASM_X86_WIN 1
    5959#else
     
    9292#endif
    9393
    94 #if CPU(X86_64) && !PLATFORM(WIN)
     94#if CPU(X86_64) && !COMPILER(MSVC)
    9595#define OFFLINE_ASM_X86_64 1
    9696#else
     
    9898#endif
    9999
    100 #if CPU(X86_64) && PLATFORM(WIN)
     100#if CPU(X86_64) && COMPILER(MSVC)
    101101#define OFFLINE_ASM_X86_64_WIN 1
    102102#else
  • trunk/Source/JavaScriptCore/runtime/ConfigFile.h

    r213690 r217109  
    4141    void canonicalizePaths();
    4242
    43 #if PLATFORM(WIN)
     43#if OS(WINDOWS)
    4444    static const size_t s_maxPathLength = 260; // Windows value for "MAX_PATH"
    4545#else
  • trunk/Source/JavaScriptCore/runtime/VM.cpp

    r217060 r217109  
    653653}
    654654
    655 #if PLATFORM(WIN)
     655#if OS(WINDOWS)
    656656// On Windows the reserved stack space consists of committed memory, a guard page, and uncommitted memory,
    657657// where the guard page is a barrier between committed and uncommitted memory.
     
    680680inline void VM::updateStackLimits()
    681681{
    682 #if PLATFORM(WIN)
     682#if OS(WINDOWS)
    683683    void* lastSoftStackLimit = m_softStackLimit;
    684684#endif
     
    695695    }
    696696
    697 #if PLATFORM(WIN)
     697#if OS(WINDOWS)
    698698    // We only need to precommit stack memory dictated by the VM::m_softStackLimit limit.
    699699    // This is because VM::m_softStackLimit applies to stack usage by LLINT asm or JIT
Note: See TracChangeset for help on using the changeset viewer.