Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Arzt <arzt.samuel@live.de>2017-09-20 14:04:50 +0300
committerJan Kotas <jkotas@microsoft.com>2017-09-20 14:04:50 +0300
commitbceb1952e884253ec88a7ec518116edf1cef9e0b (patch)
treed88709534bb09fa29b11dea624347aecd6d5de81 /src/ILCompiler.Compiler
parent2d1cd5a05350f16e3910a6c72642327f800d42bf (diff)
[ILVerify] Implement Ldftn/Ldvirtftn instruction (#4497)
* Added VerifierError for ldftn/ldvirtftn of constructor. * Implemented basic ldftn and basic delegate creation functionality. * Added TestName attribute to TestCases to further shorten display name of tests. * Implemented basic ldftn functionality and constraint checks. Moved type conversions to helper class. * Added test cases for ldftn and newobj of constrained generic types. * Added test cases for ldvirtftn. Fixed display of invalid test errors. * Changed constraints checks to use ConstraintsHelper class. Added additional test cases for GenericParam as generic parameter with special constraints. * Added additional constraints check for generic parameters with special constraints. * Fixed typo in filename of TypeSystemConstraintsHelpers. * Fixed typo in 'ILDisassember'. * Slight code refactoring. Added reference to test case assert issue.
Diffstat (limited to 'src/ILCompiler.Compiler')
-rw-r--r--src/ILCompiler.Compiler/src/Compiler/ILAssemblyGeneratingMethodDebugInfoProvider.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ILCompiler.Compiler/src/Compiler/ILAssemblyGeneratingMethodDebugInfoProvider.cs b/src/ILCompiler.Compiler/src/Compiler/ILAssemblyGeneratingMethodDebugInfoProvider.cs
index 6c81d8117..ec2abe962 100644
--- a/src/ILCompiler.Compiler/src/Compiler/ILAssemblyGeneratingMethodDebugInfoProvider.cs
+++ b/src/ILCompiler.Compiler/src/Compiler/ILAssemblyGeneratingMethodDebugInfoProvider.cs
@@ -59,8 +59,8 @@ namespace ILCompiler
private MethodDebugInformation GetDebugInformation(MethodIL methodIL)
{
MethodDesc owningMethod = methodIL.OwningMethod;
- var disasm = new ILDisassember(methodIL);
- var fmt = new ILDisassember.ILTypeNameFormatter(null);
+ var disasm = new ILDisassembler(methodIL);
+ var fmt = new ILDisassembler.ILTypeNameFormatter(null);
ArrayBuilder<ILSequencePoint> sequencePoints = new ArrayBuilder<ILSequencePoint>();