From d591f7dfca72f834637c7dc64702c079cd296e18 Mon Sep 17 00:00:00 2001 From: Amy Yu Date: Wed, 18 Jul 2018 14:54:00 -0700 Subject: [PATCH] Fix build errors caused by CompilerTypeSystemContext constructor --- src/ILCompiler.Compiler/tests/DependencyGraphTests.cs | 2 +- src/ILCompiler.Compiler/tests/DevirtualizationTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ILCompiler.Compiler/tests/DependencyGraphTests.cs b/src/ILCompiler.Compiler/tests/DependencyGraphTests.cs index 05392cfec25..a0a60efda55 100644 --- a/src/ILCompiler.Compiler/tests/DependencyGraphTests.cs +++ b/src/ILCompiler.Compiler/tests/DependencyGraphTests.cs @@ -34,7 +34,7 @@ public class DependencyGraphTests public static IEnumerable GetTestMethods() { var target = new TargetDetails(TargetArchitecture.X64, TargetOS.Windows, TargetAbi.CoreRT); - var context = new CompilerTypeSystemContext(target, SharedGenericsMode.CanonicalReferenceTypes, false); + var context = new CompilerTypeSystemContext(target, SharedGenericsMode.CanonicalReferenceTypes); context.InputFilePaths = new Dictionary { { "Test.CoreLib", @"Test.CoreLib.dll" }, diff --git a/src/ILCompiler.Compiler/tests/DevirtualizationTests.cs b/src/ILCompiler.Compiler/tests/DevirtualizationTests.cs index c3a6e900016..0ebda0cbc9a 100644 --- a/src/ILCompiler.Compiler/tests/DevirtualizationTests.cs +++ b/src/ILCompiler.Compiler/tests/DevirtualizationTests.cs @@ -18,7 +18,7 @@ public class DevirtualizationTests public DevirtualizationTests() { var target = new TargetDetails(TargetArchitecture.X64, TargetOS.Windows, TargetAbi.CoreRT); - _context = new CompilerTypeSystemContext(target, SharedGenericsMode.CanonicalReferenceTypes, false); + _context = new CompilerTypeSystemContext(target, SharedGenericsMode.CanonicalReferenceTypes); _context.InputFilePaths = new Dictionary { { "Test.CoreLib", @"Test.CoreLib.dll" },