e2950ec768
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
1.1 KiB
1.1 KiB
Updating RyuJIT
Following steps are necessary to pick up a new version of RyuJIT code generation backend from CoreCLR:
- From the master branch of the CoreCLR repo, copy header files that are part of the contract with RyuJIT from
src\inc
on the CoreCLR side, tosrc\JitInterface\src\ThunkGenerator
on the CoreRT side. - Inspect the diffs
- If an enum was modified, port the change to the managed version of the enum manually.
- If a JitInterface method was added or changed, update
src\JitInterface\src\ThunkGenerator\ThunkInput.txt
and run the generation script next to the file to regenerateCorInfoBase.cs
andjitinterface.h
. Update the managed implementation of the method inCorInfoImpl.cs
manually. - If the JitInterface GUID was updated, update it in
src\Native\jitinterface\jitwrapper.cpp
- Go to https://dotnet.myget.org/feed/dotnet-core/package/nuget/Microsoft.NETCore.Jit and find the latest version of the RyuJIT package. Update the version number in dependencies.props at the root of the repo.
- Rebuild everything and run tests to validate the change.
- Create a pull request with title "Update RyuJIT".