diff options
author | David Wrighton <davidwr@microsoft.com> | 2017-03-23 04:11:43 +0300 |
---|---|---|
committer | David Wrighton <davidwr@microsoft.com> | 2017-03-23 04:11:43 +0300 |
commit | 070d563044a921d75fdb84b3c803cdd913be6806 (patch) | |
tree | d3c48db6353862793129e4791cff02e8bcd11ceb /src/ILCompiler.MetadataTransform | |
parent | 832bb7db0dc06192e4c941893e13951f41de3695 (diff) |
Add support for most of the remaining runtime supported GenericLookup types
- UnwrapNullable, FieldOffset, VTableOffset, CallingConventionConverter
- Refactor nativelayout method signature stuff to be single instanced on MethodSignature not on MethodDesc (CallingConventionConverter path needs signature but does not have MethodDesc)
- Remaining lookups are constrained call lookup and type size lookup
- Added SupportsCanon and SupportsUniversalCanon apis to type system context
- Dependency tracking to ensure that usg vtables match vtables of all other types in the system (for both lazy and eager vtable generation processes)
- VTableOffset generic lookups inject a dependency into code which uses them
[tfs-changeset: 1651754]
Diffstat (limited to 'src/ILCompiler.MetadataTransform')
-rw-r--r-- | src/ILCompiler.MetadataTransform/tests/TestTypeSystemContext.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ILCompiler.MetadataTransform/tests/TestTypeSystemContext.cs b/src/ILCompiler.MetadataTransform/tests/TestTypeSystemContext.cs index 6ae9dbf81..52837a236 100644 --- a/src/ILCompiler.MetadataTransform/tests/TestTypeSystemContext.cs +++ b/src/ILCompiler.MetadataTransform/tests/TestTypeSystemContext.cs @@ -53,5 +53,8 @@ namespace MetadataTransformTests { return GetModuleForSimpleName(name.Name, throwIfNotFound); } + + public override bool SupportsUniversalCanon => true; + public override bool SupportsCanon => true; } } |