Changeset 162266 in webkit


Ignore:
Timestamp:
Jan 18, 2014 11:41:58 AM (10 years ago)
Author:
berto@igalia.com
Message:

JavaScriptCore uses PLATFORM(MAC) when it means OS(DARWIN)
https://bugs.webkit.org/show_bug.cgi?id=99683

Reviewed by Anders Carlsson.

  • jit/ThunkGenerators.cpp:
  • tools/CodeProfile.cpp:

(JSC::symbolName):
(JSC::CodeProfile::sample):

Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r162260 r162266  
     12014-01-18  Alberto Garcia  <berto@igalia.com>
     2
     3        JavaScriptCore uses PLATFORM(MAC) when it means OS(DARWIN)
     4        https://bugs.webkit.org/show_bug.cgi?id=99683
     5
     6        Reviewed by Anders Carlsson.
     7
     8        * jit/ThunkGenerators.cpp:
     9        * tools/CodeProfile.cpp:
     10        (JSC::symbolName):
     11        (JSC::CodeProfile::sample):
     12
    1132014-01-18  Anders Carlsson  <andersca@apple.com>
    214
  • trunk/Source/JavaScriptCore/jit/ThunkGenerators.cpp

    r159995 r162266  
    604604}
    605605
    606 #if CPU(X86_64) && COMPILER(GCC) && (PLATFORM(MAC) || OS(LINUX))
     606#if CPU(X86_64) && COMPILER(GCC) && (OS(DARWIN) || OS(LINUX))
    607607
    608608#define defineUnaryDoubleOpWrapper(function) \
     
    620620    static MathThunk UnaryDoubleOpWrapper(function) = &function##Thunk;
    621621
    622 #elif CPU(X86) && COMPILER(GCC) && (PLATFORM(MAC) || OS(LINUX))
     622#elif CPU(X86) && COMPILER(GCC) && (OS(DARWIN) || OS(LINUX))
    623623#define defineUnaryDoubleOpWrapper(function) \
    624624    asm( \
  • trunk/Source/JavaScriptCore/tools/CodeProfile.cpp

    r157653 r162266  
    3434#include <wtf/text/WTFString.h>
    3535
    36 #if PLATFORM(MAC)
     36#if OS(DARWIN)
    3737#include <cxxabi.h>
    3838#include <dlfcn.h>
     
    5757static const char* symbolName(void* address)
    5858{
    59 #if PLATFORM(MAC)
     59#if OS(DARWIN)
    6060    Dl_info info;
    6161    if (!dladdr(address, &info) || !info.dli_sname)
     
    124124            return;
    125125
    126 #if PLATFORM(MAC) && CPU(X86_64)
     126#if OS(DARWIN) && CPU(X86_64)
    127127        // Walk up the stack.
    128128        pc = framePointer[1];
Note: See TracChangeset for help on using the changeset viewer.