-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JSC] Remove unnecessary RELEASE_ASSERT and use memset_pattern4 in re…
…cordLinkOffsets https://bugs.webkit.org/show_bug.cgi?id=263625 rdar://117443303 Reviewed by Mark Lam and Justin Michaud. This patch cleans up some of RELEASE_ASSERT in ARM64Assembler. 1. We are doing meaningless RELEASE_ASSERT repeatedly. We hoist the critical part and remove unnecessary ones if the first one meets the requirement. This meaningless assertions are actually hot in traces. 2. Use memset_pattern4 to fill out 4-byte patterns on Darwin. * Source/JavaScriptCore/assembler/ARM64Assembler.h: * Source/JavaScriptCore/assembler/LinkBuffer.cpp: (JSC::recordLinkOffsets): Canonical link: https://commits.webkit.org/269746@main
- Loading branch information
1 parent
95809c7
commit 20fbc27
Showing
2 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters