Changeset 162266 in webkit for trunk/Source/JavaScriptCore/tools


Ignore:
Timestamp:
Jan 18, 2014, 11:41:58 AM (11 years ago)
Author:
[email protected]
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):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.