Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Inlining of runtime details - avoid overhead of R2R helpers for statically linked programs #2393

Open

Description

@jkotas

CoreRT has been using R2R codegen in RyuJIT that emits call for any runtime details. The runtime details are implemented by R2R helpers emitted by the toolchain. It allowed us to bootstrap quickly without too many runtime-specific changes in the RyuJIT. However, this scheme has overhead that does not make sense for statically linked programs. We should inline the runtime details into the code, and avoid overhead of R2R helpers for statically linked programs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions