dotnet / dotnet/runtime

JIT does not compile method with jmp IL instruction in ReadyToRun

Open
#125,252 0 comments 0 reactions 0 assignees View on GitHub
area-ReadyToRun
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

The jit and crossgen2 would not properly set up a method import fixup for a jmp IL instruction if enabled, and https://github.com/dotnet/runtime/pull/124203 explicitly disables it. Previously, the compilation results in `getFunctionEntrypoint` throwing a `RequiresRuntimeJitException` in crossgen2.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.