Ignore:
Timestamp:
Mar 15, 2007, 10:12:59 PM (18 years ago)
Author:
mjs
Message:

JavaScriptCore:

Reviewed by Geoff and Steve.


  • fix some portability issues with TCMalloc.
  • JavaScriptCore.vcproj/WTF/WTF.vcproj:
  • kjs/config.h:
  • wtf/FastMalloc.cpp: (WTF::SizeClass): (WTF::InitSizeClasses): (WTF::TCMalloc_PageHeap::Split): (WTF::TCMalloc_PageHeap::RegisterSizeClass): (WTF::TCMalloc_Central_FreeList::length): (WTF::TCMalloc_ThreadCache::InitTSD): (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
  • wtf/TCSpinLock.h:
  • wtf/TCSystemAlloc.cpp: (TryVirtualAlloc): (TCMalloc_SystemAlloc):

WebCore:

Reviewed by Geoff and Steve.

  • config.h: Remove unneeded hack.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/TCSpinLock.h

    r19245 r20229  
    3535
    3636#include "config.h"
     37
     38#if (PLATFORM(X86) || PLATFORM(PPC)) && COMPILER(GCC)
     39
    3740#include <time.h>       /* For nanosleep() */
     41
    3842#include <sched.h>      /* For sched_yield() */
     43
    3944#if HAVE(STDINT_H)
    4045#include <stdint.h>
     
    4651#include <stdlib.h>     /* for abort() */
    4752
    48 #if (PLATFORM(X86) || PLATFORM(PPC)) && COMPILER(GCC)
    4953static void TCMalloc_SlowLock(volatile unsigned int* lockword);
    5054
Note: See TracChangeset for help on using the changeset viewer.