Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix StubLinkerCPU::EmitMovConstant (#53510)
The method has a bug that caused it to early out for constants with lowest 16, 24 or 32 bit being zero. The checks are inverse. This issue caused failures in System.CodeDom.Tests after my change that changed code heaps and resulted in the allocations starting at 64kB aligned address. The failure could happen even before my change, but extremely rarely, depending on where the heap virtual memory is located. This change fixes the problem.
- Loading branch information