Ignore:
Timestamp:
Jan 13, 2011, 6:52:53 PM (14 years ago)
Author:
Darin Adler
Message:

<rdar://problem/5469576> Use PTK_FRAMEWORK_JAVASCRIPTCORE_KEY0 if available.

Reviewed by Geoff Garen.

  • DerivedSources.make: Create a header file, HeaderDetection.h, that tells

us whether pthread_machdep.h is available.

  • wtf/FastMalloc.cpp: If PTK_FRAMEWORK_JAVASCRIPTCORE_KEY0 is available, then

don't do the pthread_getspecific_function_pointer trick.
(WTF::setThreadHeap): Ditto, but set thread-specific data.
(WTF::TCMalloc_ThreadCache::GetThreadHeap): Ditto, but get rather than set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/Configurations/Base.xcconfig

    r66916 r75766  
    1 // Copyright (C) 2009, 2010 Apple Inc. All rights reserved.
     1// Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved.
    22//
    33// Redistribution and use in source and binary forms, with or without
     
    4141GCC_OBJC_CALL_CXX_CDTORS = YES;
    4242GCC_PRECOMPILE_PREFIX_HEADER = YES;
    43 GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) HAVE_DTRACE=$(HAVE_DTRACE) WEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST $(GCC_PREPROCESSOR_DEFINITIONS);
     43GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) HAVE_DTRACE=$(HAVE_DTRACE) WEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST HAVE_HEADER_DETECTION_H $(GCC_PREPROCESSOR_DEFINITIONS);
    4444GCC_STRICT_ALIASING = YES;
    4545GCC_THREADSAFE_STATICS = NO;
Note: See TracChangeset for help on using the changeset viewer.