diff options
Diffstat (limited to 'src/System.Private.Jit')
-rw-r--r-- | src/System.Private.Jit/src/Internal/Runtime/JitSupport/JitCompilation.cs | 4 | ||||
-rw-r--r-- | src/System.Private.Jit/src/System.Private.Jit.csproj | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/System.Private.Jit/src/Internal/Runtime/JitSupport/JitCompilation.cs b/src/System.Private.Jit/src/Internal/Runtime/JitSupport/JitCompilation.cs index 14faeb3f9..fa6763201 100644 --- a/src/System.Private.Jit/src/Internal/Runtime/JitSupport/JitCompilation.cs +++ b/src/System.Private.Jit/src/Internal/Runtime/JitSupport/JitCompilation.cs @@ -21,7 +21,7 @@ namespace ILCompiler { _typeSystemContext = context; _typeGetTypeMethodThunks = new TypeGetTypeMethodThunkCache(context.GetWellKnownType(WellKnownType.Object)); - _methodILCache = new ILProvider(new PInvokeILProvider(new PInvokeILEmitterConfiguration(forceLazyResolution: true))); + _methodILCache = new ILProvider(new PInvokeILProvider(new PInvokeILEmitterConfiguration(forceLazyResolution: true), null)); _nodeFactory = new NodeFactory(context); } @@ -49,7 +49,7 @@ namespace ILCompiler { // Flush the cache when it grows too big if (_methodILCache.Count > 1000) - _methodILCache = new ILProvider(new PInvokeILProvider(new PInvokeILEmitterConfiguration(forceLazyResolution: true))); + _methodILCache = new ILProvider(new PInvokeILProvider(new PInvokeILEmitterConfiguration(forceLazyResolution: true), null)); return _methodILCache.GetMethodIL(method); } diff --git a/src/System.Private.Jit/src/System.Private.Jit.csproj b/src/System.Private.Jit/src/System.Private.Jit.csproj index 5a47091dc..b30691de1 100644 --- a/src/System.Private.Jit/src/System.Private.Jit.csproj +++ b/src/System.Private.Jit/src/System.Private.Jit.csproj @@ -77,12 +77,14 @@ <Compile Include="$(TypeSystemBasePath)\IL\Stubs\EETypePtrOfIntrinsic.cs" /> <Compile Include="$(TypeSystemBasePath)\IL\Stubs\DelegateMethodILEmitter.cs" /> <Compile Include="$(TypeSystemBasePath)\IL\Stubs\PInvokeILEmitter.cs" /> + <Compile Include="$(TypeSystemBasePath)\IL\Stubs\StructMarshallingThunk.cs" /> <Compile Include="$(TypeSystemBasePath)\IL\Stubs\TypeGetTypeMethodThunk.cs" /> <Compile Include="$(TypeSystemBasePath)\IL\Stubs\UnsafeIntrinsics.cs" /> <Compile Include="$(TypeSystemBasePath)\Interop\IL\Marshaller.cs" /> <Compile Include="$(TypeSystemBasePath)\Interop\IL\MarshalHelpers.cs" /> - <Compile Include="$(TypeSystemBasePath)\Interop\IL\PInvokeMethodData.cs" /> - <Compile Include="$(TypeSystemBasePath)\Interop\IL\PInvokeILEmitterConfiguration.cs" /> + <Compile Include="$(TypeSystemBasePath)\Interop\IL\NativeStructType.cs" /> <Compile Include="$(TypeSystemBasePath)\Interop\IL\PInvokeILEmitterConfiguration.cs" /> + <Compile Include="$(TypeSystemBasePath)\Interop\InteropTypes.cs" /> + <Compile Include="$(TypeSystemBasePath)\Interop\InteropStateManager.cs" /> <Compile Include="$(ILCompilerBasePath)\Logger.cs" /> <Compile Include="$(ILCompilerBasePath)\Compiler\DependencyAnalysis\Target_X64\TargetRegisterMap.cs" /> <Compile Include="$(ILCompilerBasePath)\Compiler\DependencyAnalysis\Target_X64\X64Emitter.cs" /> |