Fix token encoding crash when compiling without version bubble (#816)
authorFadi Hanna <fadim@microsoft.com>
Wed, 15 Jan 2020 01:05:16 +0000 (20:05 -0500)
committerGitHub <noreply@github.com>
Wed, 15 Jan 2020 01:05:16 +0000 (20:05 -0500)
commitc8ca0f3d8781caa1240b7681a93147595db1a7ab
tree2430f5fcca72ac20cdf8557ac4a4b1695cb93771
parentf57d49bb711fda8ac0bd231229d91919f4fca8e8
Fix token encoding crash when compiling without version bubble (#816)

* Fix token encoding crash when compiling without version bubble

Implement the ability to get token values for typeRefs that are not part of the version bubble. This fixes the ability to compile the CoreFX set without the --large-bubble switch
src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/Compiler/CompilationModuleGroup.ReadyToRun.cs
src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/ModuleTokenResolver.cs
src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/Compiler/ReadyToRunSingleAssemblyCompilationModuleGroup.cs
src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/Compiler/SingleMethodCompilationModuleGroup.cs