Adding Support for FieldDescSlot generic dictionary entries for R2R generic code...
authorFadi Hanna <fadim@microsoft.com>
Thu, 4 Aug 2016 01:00:49 +0000 (18:00 -0700)
committerGitHub <noreply@github.com>
Thu, 4 Aug 2016 01:00:49 +0000 (18:00 -0700)
commit693fff99049bc7d63459b2c444237ca532036b47
treeb6c9b7fdc517276f1480f6a9deb23c506ffc8fdd
parentd18ddfda61efdfe4521d2dce816fa01021bf26a8
Adding Support for FieldDescSlot generic dictionary entries for R2R generic code. (#6200)

This enables generic code with ldtoken instructions for fields on generic types to be compiled into R2R.

This change makes newer versions of the runtime compatible with older version R2R images,
but not vice-versa. Therefore, the major version is increased to 2 with this change.

This change adds more encodings to a R2R image without changing the format of any previously encoded
entity, and is backwards compatible.
17 files changed:
src/inc/corcompile.h
src/inc/readytorun.h
src/vm/codeman.cpp
src/vm/compile.cpp
src/vm/compile.h
src/vm/genericdict.cpp
src/vm/jitinterface.cpp
src/vm/zapsig.cpp
src/vm/zapsig.h
src/zap/zapimport.cpp
src/zap/zapimport.h
tests/src/readytorun/fieldgetter.il [new file with mode: 0644]
tests/src/readytorun/fieldgetter.ilproj [new file with mode: 0644]
tests/src/readytorun/main.cs
tests/src/readytorun/mainv1.csproj
tests/src/readytorun/mainv2.csproj
tests/src/readytorun/test.cs