Bug 253904

Summary: [Darwin] Call `sys_icache_invalidate()` directly in `ARM64Assembler::flushCache()`
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: JavaScriptCoreAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2023-03-14 13:53:08 PDT
Call `sys_icache_invalidate()` directly in `ARM64Assembler::flushCache()`. Previously, we'd call `sys_cache_control(kCacheFunctionPrepareForExecution)`, which would have to do a switch on its parameter before calling `sys_icache_invalidate()`.
Comment 1 EWS 2023-03-14 17:16:32 PDT
Committed 261661@main (2cc0a6b10cf0): <https://commits.webkit.org/261661@main>

Reviewed commits have been landed. Closing PR #11512 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2023-03-14 17:17:20 PDT
<rdar://problem/106728867>