Migrate definition of USE_PLATFORM_REGISTERS_WITH_PROFILE to PlatformUse.h
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 9 Feb 2020 01:29:05 +0000 (01:29 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 9 Feb 2020 01:29:05 +0000 (01:29 +0000)
https://bugs.webkit.org/show_bug.cgi?id=207428

Reviewed by Tim Horton.

* wtf/PlatformUse.h:
Move definition of USE_PLATFORM_REGISTERS_WITH_PROFILE from AdditionalFeatureDefines.h, where
it did not belong.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@256096 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WTF/ChangeLog
Source/WTF/wtf/PlatformUse.h

index be088e4..12243fb 100644 (file)
@@ -1,3 +1,14 @@
+2020-02-08  Sam Weinig  <weinig@apple.com>
+
+        Migrate definition of USE_PLATFORM_REGISTERS_WITH_PROFILE to PlatformUse.h
+        https://bugs.webkit.org/show_bug.cgi?id=207428
+
+        Reviewed by Tim Horton.
+
+        * wtf/PlatformUse.h:
+        Move definition of USE_PLATFORM_REGISTERS_WITH_PROFILE from AdditionalFeatureDefines.h, where 
+        it did not belong.
+
 2020-02-08  Yusuke Suzuki  <ysuzuki@apple.com>
 
         [WTF] Try using 75% load factor for HashTable
index 7bfc09c..5993968 100644 (file)
 #define USE_BMALLOC_MEMORY_FOOTPRINT_API 1
 #endif
 
+#if !defined(USE_PLATFORM_REGISTERS_WITH_PROFILE) && OS(DARWIN) && CPU(ARM64) && defined(__LP64__)
+#define USE_PLATFORM_REGISTERS_WITH_PROFILE 1
+#endif
+
 #if OS(DARWIN) && !USE(PLATFORM_REGISTERS_WITH_PROFILE) && CPU(ARM64)
 #define USE_DARWIN_REGISTER_MACROS 1
 #endif