Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NativeAOT] fix debug assert on large number of virtual methods (#77106)
According to the ARM docs for this op code: https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/LDR--immediate---Load-Register--immediate--?lang=en > For the 64-bit variant: is the optional positive immediate byte offset, a multiple of 8 in the range 0 to 32760, defaulting to 0 and encoded in the "imm12" field as <pimm>/8. You can see that once the offset has been devided by 8, it will be in the range [0, 4095], which will fit in the 12 bits allocated for the offset.
- Loading branch information