diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-03-30 20:49:26 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-03-30 20:49:26 -0700 |
commit | c4378e7f0773577e9924ff4ebad0cc3af43fb3a8 (patch) | |
tree | af168084053193343e78d9d2cc3852ee1a86c2c2 /src/zap/zapinfo.h | |
parent | 6a2e3b34c3c9ac32456d38567b9f44ab6aea2f63 (diff) | |
download | coreclr-c4378e7f0773577e9924ff4ebad0cc3af43fb3a8.tar.gz coreclr-c4378e7f0773577e9924ff4ebad0cc3af43fb3a8.tar.bz2 coreclr-c4378e7f0773577e9924ff4ebad0cc3af43fb3a8.zip |
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]
Diffstat (limited to 'src/zap/zapinfo.h')
-rw-r--r-- | src/zap/zapinfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/zap/zapinfo.h b/src/zap/zapinfo.h index 83528e9e7b..5fe3dcb76e 100644 --- a/src/zap/zapinfo.h +++ b/src/zap/zapinfo.h @@ -550,6 +550,12 @@ public: CORINFO_CONST_LOOKUP * pLookup ); + void getReadyToRunDelegateCtorHelper( + CORINFO_RESOLVED_TOKEN * pTargetMethod, + CORINFO_CLASS_HANDLE delegateType, + CORINFO_CONST_LOOKUP * pLookup + ); + CorInfoInitClassResult initClass( CORINFO_FIELD_HANDLE field, CORINFO_METHOD_HANDLE method, |