Title: [271332] trunk/Source
- Revision
- 271332
- Author
- [email protected]
- Date
- 2021-01-08 16:00:58 -0800 (Fri, 08 Jan 2021)
Log Message
[JSC] Disable JITCage compile time in old iOS
https://bugs.webkit.org/show_bug.cgi?id=220477
Reviewed by Darin Adler.
Source/_javascript_Core:
* runtime/Gate.h: This is required in LLInt ARM64E.
* runtime/Options.cpp:
Source/WTF:
ENABLE(JIT_CAGE) becomes false in old iOS.
* wtf/PlatformEnable.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (271331 => 271332)
--- trunk/Source/_javascript_Core/ChangeLog 2021-01-08 23:49:06 UTC (rev 271331)
+++ trunk/Source/_javascript_Core/ChangeLog 2021-01-09 00:00:58 UTC (rev 271332)
@@ -1,3 +1,13 @@
+2021-01-08 Yusuke Suzuki <[email protected]>
+
+ [JSC] Disable JITCage compile time in old iOS
+ https://bugs.webkit.org/show_bug.cgi?id=220477
+
+ Reviewed by Darin Adler.
+
+ * runtime/Gate.h: This is required in LLInt ARM64E.
+ * runtime/Options.cpp:
+
2021-01-08 Alexey Proskuryakov <[email protected]>
_javascript_Core API headers contain project style includes
Modified: trunk/Source/_javascript_Core/runtime/Gate.h (271331 => 271332)
--- trunk/Source/_javascript_Core/runtime/Gate.h 2021-01-08 23:49:06 UTC (rev 271331)
+++ trunk/Source/_javascript_Core/runtime/Gate.h 2021-01-09 00:00:58 UTC (rev 271332)
@@ -27,7 +27,7 @@
namespace JSC {
-#if ENABLE(JIT_OPERATION_VALIDATION)
+#if ENABLE(JIT_OPERATION_VALIDATION) || CPU(ARM64E)
#define JSC_UTILITY_GATES(v) \
v(jitCagePtr, NoPtrTag) \
Modified: trunk/Source/_javascript_Core/runtime/Options.cpp (271331 => 271332)
--- trunk/Source/_javascript_Core/runtime/Options.cpp 2021-01-08 23:49:06 UTC (rev 271331)
+++ trunk/Source/_javascript_Core/runtime/Options.cpp 2021-01-09 00:00:58 UTC (rev 271332)
@@ -1125,7 +1125,7 @@
return false;
}
-#if ENABLE(JIT_CAGE) && defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 150000
+#if ENABLE(JIT_CAGE)
bool canUseJITCage() { return JSC_JIT_CAGE_VERSION(); }
#else
bool canUseJITCage() { return false; }
Modified: trunk/Source/WTF/ChangeLog (271331 => 271332)
--- trunk/Source/WTF/ChangeLog 2021-01-08 23:49:06 UTC (rev 271331)
+++ trunk/Source/WTF/ChangeLog 2021-01-09 00:00:58 UTC (rev 271332)
@@ -1,3 +1,14 @@
+2021-01-08 Yusuke Suzuki <[email protected]>
+
+ [JSC] Disable JITCage compile time in old iOS
+ https://bugs.webkit.org/show_bug.cgi?id=220477
+
+ Reviewed by Darin Adler.
+
+ ENABLE(JIT_CAGE) becomes false in old iOS.
+
+ * wtf/PlatformEnable.h:
+
2021-01-08 Chris Dumez <[email protected]>
Make it safe to re-enter HashMap::clear()
Modified: trunk/Source/WTF/wtf/PlatformEnable.h (271331 => 271332)
--- trunk/Source/WTF/wtf/PlatformEnable.h 2021-01-08 23:49:06 UTC (rev 271331)
+++ trunk/Source/WTF/wtf/PlatformEnable.h 2021-01-09 00:00:58 UTC (rev 271332)
@@ -880,7 +880,7 @@
#error "ENABLE(WHLSL_COMPILER) requires ENABLE(WEBGPU)"
#endif
-#if OS(DARWIN) && ENABLE(JIT) && ((USE(APPLE_INTERNAL_SDK) && CPU(ARM64E)))
+#if OS(DARWIN) && ENABLE(JIT) && USE(APPLE_INTERNAL_SDK) && CPU(ARM64E) && defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 150000
#define ENABLE_JIT_CAGE 1
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes