Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JSC] Use or64 since it can encode startOfStructureHeap in imm
https://bugs.webkit.org/show_bug.cgi?id=255570 rdar://108171748 Reviewed by Justin Michaud. StructureAlignedMemoryAllocator ensures that we can compose Structure* with StructureID with BitOr operation. This patch changes add64 to or64 since or64 can encode bits more nicely in imm field, removing one unnecessary `mov`. * Source/JavaScriptCore/jit/AssemblyHelpers.cpp: (JSC::AssemblyHelpers::emitNonNullDecodeZeroExtendedStructureID): Canonical link: https://commits.webkit.org/263057@main
- Loading branch information