Delete duplicated R2R version definition and sync to reality (#1764)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Thu, 16 Jan 2020 04:46:26 +0000 (05:46 +0100)
committerJan Kotas <jkotas@microsoft.com>
Thu, 16 Jan 2020 04:46:26 +0000 (20:46 -0800)
commit8d817ee237d355d539135acfa5513e2fa86d0666
tree20455e9e7dd010c002d01ac2dc2f1076d51fdbdd
parent04f22268efb4434b7cd81e8ae2c3354be99fd4a7
Delete duplicated R2R version definition and sync to reality (#1764)

We're not generating R2R version 3.0: we started generating 4.1 when nop padding/jump stamps were removed. (Seems like R2R 4.0 was actually skipped entirely but we ended up with the 4.0 version in one of the copies of the struct because only major version was bumped for jump stamps; minor was untouched - minor went up with cuckoo metadata before that and that didn't involve crossgen2 at that point)

Didn't dig into history to find out why it's duplicated in the first place, but it doesn't look like a good place to be in.
src/coreclr/src/tools/Common/Internal/Runtime/ModuleHeaders.cs
src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/HeaderNode.cs