diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-08-11 07:43:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-11 07:43:16 -0700 |
commit | af4ec7c89d0192ad14392da04e8c097da8ec9e48 (patch) | |
tree | 0b3018c1c576114d2b5b0f355df6ff48972a6c5d /src/vm/zapsig.cpp | |
parent | f551543427176850c84b9e11c7b8d528c3f282a7 (diff) | |
download | coreclr-af4ec7c89d0192ad14392da04e8c097da8ec9e48.tar.gz coreclr-af4ec7c89d0192ad14392da04e8c097da8ec9e48.tar.bz2 coreclr-af4ec7c89d0192ad14392da04e8c097da8ec9e48.zip |
Make RuntimeType sealed and deleted support for introspection only loads (#19427)
- Sealed Runtime makes `is RuntimeType` and similar checks faster. These checks are fairly common in reflection.
- Delete support for introspection only loads from the runtime. We do not plan to use in .NET Core. The support for introspection loads inherited from RuntimeType and thus it is incompatible with sealed RuntimeType.
Diffstat (limited to 'src/vm/zapsig.cpp')
-rw-r--r-- | src/vm/zapsig.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vm/zapsig.cpp b/src/vm/zapsig.cpp index fedc9483c5..32ddd7ae59 100644 --- a/src/vm/zapsig.cpp +++ b/src/vm/zapsig.cpp @@ -663,8 +663,7 @@ Module *ZapSig::DecodeModuleFromIndexes(Module *fromModule, AssemblySpec spec; spec.InitializeSpec(TokenFromRid(assemblyIndex, mdtAssemblyRef), fromModule->GetNativeAssemblyImport(), - NULL, - FALSE); + NULL); pAssembly = spec.LoadAssembly(FILE_LOADED); |