[webkit-changes] [WebKit/WebKit] f90216: [JSC] Adjust delta for computeJumpType with thunk
Yusuke Suzuki
noreply at github.com
Tue Dec 12 22:59:11 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f902162f5d4156bfba44f34b5e0e912da5716e2b
https://github.com/WebKit/WebKit/commit/f902162f5d4156bfba44f34b5e0e912da5716e2b
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2023-12-12 (Tue, 12 Dec 2023)
Changed paths:
M Source/JavaScriptCore/assembler/ARM64Assembler.h
M Source/JavaScriptCore/assembler/MacroAssemblerARM64.h
M Source/JavaScriptCore/assembler/MacroAssemblerARMv7.h
Log Message:
-----------
[JSC] Adjust delta for computeJumpType with thunk
https://bugs.webkit.org/show_bug.cgi?id=266326
rdar://119593801
Reviewed by Mark Lam.
When condition + jump gets compacted, it may affect on relative jump size for thunk.
For non thunk cases, it does not affect since (1) backward jump will always reduce
the gap and (2) forward jump is already using conservative value.
* Source/JavaScriptCore/assembler/ARM64Assembler.h:
* Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:
(JSC::MacroAssemblerARM64::canCompact):
* Source/JavaScriptCore/assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::canCompact):
Canonical link: https://commits.webkit.org/271969@main
More information about the webkit-changes
mailing list