Changeset 200139 in webkit
- Timestamp:
- Apr 27, 2016 12:00:22 PM (8 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSWrapperMap.mm
r200115 r200139 45 45 #include <mach-o/dyld.h> 46 46 47 #if __has_include(<mach-o/dyld_priv.h>)47 #if USE(APPLE_INTERNAL_SDK) 48 48 #include <mach-o/dyld_priv.h> 49 49 #endif … … 52 52 #if PLATFORM(APPLETV) 53 53 #elif PLATFORM(IOS) 54 static const uint32_t webkitFirstSDKVersionWithInitConstructorSupport = 0x80000; // iOS 8.0.054 static const uint32_t firstSDKVersionWithInitConstructorSupport = 0x80000; // iOS 8.0.0 55 55 #elif PLATFORM(MAC) 56 static const uint32_t webkitFirstSDKVersionWithInitConstructorSupport = 0xA0A00; // OSX 10.10.056 static const uint32_t firstSDKVersionWithInitConstructorSupport = 0xA0A00; // OSX 10.10.0 57 57 #endif 58 58 … … 665 665 if (!programSDKVersion) 666 666 programSDKVersion = dyld_get_program_sdk_version(); 667 return programSDKVersion >= webkitFirstSDKVersionWithInitConstructorSupport;667 return programSDKVersion >= firstSDKVersionWithInitConstructorSupport; 668 668 #endif 669 669 } -
trunk/Source/JavaScriptCore/ChangeLog
r200136 r200139 1 2016-04-27 Mark Lam <mark.lam@apple.com> 2 3 Address feedback from https://bugs.webkit.org/show_bug.cgi?id=157048#c5. 4 https://bugs.webkit.org/show_bug.cgi?id=157096 5 6 Reviewed by Geoffrey Garen. 7 8 1. Check for USE(APPLE_INTERNAL_SDK) instead of __has_include(<mach-o/dyld_priv.h>). 9 2. Rename webkitFirstSDKVersionWithInitConstructorSupport to 10 firstSDKVersionWithInitConstructorSupport. 11 12 * API/JSWrapperMap.mm: 13 (supportsInitMethodConstructors): 14 1 15 2016-04-27 Mark Lam <mark.lam@apple.com> 2 16
Note: See TracChangeset
for help on using the changeset viewer.