Fix R2R fixups for delegate ctors
authorJan Kotas <jkotas@microsoft.com>
Thu, 31 Mar 2016 03:49:26 +0000 (20:49 -0700)
committerJan Kotas <jkotas@microsoft.com>
Thu, 31 Mar 2016 03:49:26 +0000 (20:49 -0700)
commitc4378e7f0773577e9924ff4ebad0cc3af43fb3a8
treeaf168084053193343e78d9d2cc3852ee1a86c2c2
parent6a2e3b34c3c9ac32456d38567b9f44ab6aea2f63
Fix R2R fixups for delegate ctors

- Add getReadyToRunDelegateHelper to JIT-EE interface. This method has an extra argument describing the type of the delegate. This argument is required to emit correct fixups.
- Call the new method in both JIT and JIT32
- Add the new method to superpmi
- Bump minor version of R2R file format
- Add regression test for #3975 to R2R unit test

Fixes https://github.com/dotnet/coreclr/issues/3975

[tfs-changeset: 1591698]
13 files changed:
src/inc/corinfo.h
src/jit/flowgraph.cpp
src/jit/gentree.cpp [changed mode: 0755->0644]
src/jit/gentree.h
src/jit/importer.cpp
src/vm/jitinterface.cpp
src/vm/jitinterface.h
src/vm/win32threadpool.cpp
src/zap/zapimport.cpp
src/zap/zapimport.h
src/zap/zapinfo.cpp
src/zap/zapinfo.h
tests/src/readytorun/main.cs